🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #519

using GCC 2.2.2 with /usr/5bin/cc link problem

#519
From: roger reynolds
Date: Mon, 28 Sep 1992 21:54
15 lines
904 bytes
	Hi, I am using gcc2.2.2 on a sparc running 4.1.2
	I am forced to use the system 5 versions of some
	libraries for a particular application,
	which I compile with gcc.

	So all of my .o files are created with gcc v2.2.2
	and at link time I use /usr/5bin/cc.
	
	This has worked fine for me with gcc 1.40, but now I
	am getting the following error at link time :

		ld: Undefined symbol ___main 

	Help anybody..
	rogerr@netcom.com	
Technical Details
Message-ID: <y1_pvl-.rogerr@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!netcom.com!rogerr

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!netcom.com!rogerr
From: rogerr@netcom.com (roger reynolds)
Subject: using GCC 2.2.2 with /usr/5bin/cc link problem
Message-ID: <y1_pvl-.rogerr@netcom.com>
Followup-To: poster
Sender: gnulists@ai.mit.edu
Organization: Netcom - Online Communication Services  (408 241-9760 guest)
Distribution: gnu
Date: Mon, 28 Sep 1992 21:54:12 GMT
Lines: 17