🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51806

NEED HELP *** Undefined symbol '___main" with gcc

#51806
From: Mani Alagappan
Date: Thu, 01 Apr 1993 22:46
19 lines
1165 bytes
	I have a program that compiles just fine with
	'cc'. But when I compile with 'gcc' with the 
	options '-DCOMP_PROTO=1 -fwritable-strings' I
	get the following message from the linker.

	ld: Undefined symbol 
            ___main 

	I haven't the faintest idea why this is happending
	and nowhere in my code I am calling '__main"!

-Mani

 
-- 
Mani Alagappan,  ( mania@Viewlogic.com )
Software Guy,  Static Timing Analysis
Viewlogic Systems, Inc. Marlboro, MA 01752
Technical Details
Message-ID: <1993Apr1.224646.21391@viewlogic.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!spool.mu.edu!enterpoop.mit.edu!pad-thai.aktis.com!noc.near.net!viewlog.viewlogic.com!mania

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,ec72b1a882f79521,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-04-01 16:05:47 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!spool.mu.edu!enterpoop.mit.edu!pad-thai.aktis.com!noc.near.net!viewlog.viewlogic.com!mania
From: mania@tapas.viewlogic.com (Mani Alagappan)
Subject: NEED HELP *** Undefined symbol '___main" with gcc
Message-ID: <1993Apr1.224646.21391@viewlogic.com>
Originator: mania@tapas
Sender: mania@tapas (Mani Alagappan)
Nntp-Posting-Host: tapas
Organization: Viewlogic Systems, Inc.
Date: Thu, 1 Apr 1993 22:46:46 GMT
Lines: 19