Article View: gnu.gcc.help
Article #50740compliation of multiple files on Sparc
From: WILKERSON
Date: Tue, 17 Aug 1993 17:26
Date: Tue, 17 Aug 1993 17:26
10 lines
1070 bytes
1070 bytes
I have just installed version 2.3.3 of gcc on a sparc ipc running sunos 4.1.1 . The complier works very well except when I try to use functions in different files. I get a ld error undefined symbol ___main . If I cat all the files together the file compiles and links fine? Any help would be greatly appreciated Thank in advance Curt Wilkerson Worcester Foundation for Experimental Biology Shrewsbury, MA 01545 Wilkerson@sci.wfeb.edu
Technical Details
Message-ID:
<01H1UQA0FE2Q000DIW@SCI.WFEB.EDU>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!spool.mu.edu!uwm.edu!math.ohio-state.edu!cis.ohio-state.edu!sci.wfeb.edu!WILKERSONShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,852d7ea06f1e8285,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-08-17 11:57:45 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!spool.mu.edu!uwm.edu!math.ohio-state.edu!cis.ohio-state.edu!sci.wfeb.edu!WILKERSON From: WILKERSON@sci.wfeb.edu Newsgroups: gnu.gcc.help Subject: compliation of multiple files on Sparc Date: 17 Aug 1993 13:26:41 -0400 Organization: GNUs Not Usenet Lines: 10 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <01H1UQA0FE2Q000DIW@SCI.WFEB.EDU>