🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #108

ld: undefined symbol ___main

#108
From: John M. Harres
Date: Tue, 04 Aug 1992 07:56
8 lines
774 bytes
Thanks, your pointing me at the final link command let me find my problem.  It
wasn't linking with libgcc.a, since the link command in the makefile instead
of using $(CC), had a hard-coded cc.  Therefore my 'make CC="gcc -O"' didn't
do much good.  Teach me to pay attention.

Thanks,
John
harres@sundance.uwyo.edu
Technical Details
Message-ID: <9208041956.AA02644@sundance.uwyo.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!sundance.uwyo.edu!harres
References: <9208041412.AA04926@tiktok.osf.org>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!sundance.uwyo.edu!harres
From: harres@sundance.uwyo.edu (John M. Harres)
Subject: ld: undefined symbol ___main
Message-ID: <9208041956.AA02644@sundance.uwyo.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
References: <9208041412.AA04926@tiktok.osf.org>
Distribution: gnu
Date: Tue, 4 Aug 1992 07:56:02 GMT
Lines: 8