Article View: gnu.gcc.help
Article #46544probs building gcc2.6.0 - undefined __main
From: Stephan Eppinger
Date: Mon, 07 Nov 1994 16:29
Date: Mon, 07 Nov 1994 16:29
32 lines
1917 bytes
1917 bytes
Hi everybody, my problem building gcc from scratch on our HP9000/375, hpux9.0, is still unsolved, or should I say: shifted. After an advice of somebody from CYGNUS I got the 2.6.0 source and begun building. I copied (GNU)as and (GNU)ld into the installation directory of gcc and run config with the modifiers: ./configure --target=m68k-hp-hpux --with-gnu-as --with-gnu-ld The following make "LANGUAGES=c" gets happily compiling and ar'ing and... until the command: ./xgcc -B./ -DIN_GCC -I../hp-include -g -I./include enquire.o -o enquire which ends with the compiler message enquire.o: In function `main': /disk2/sources/gnu/gcc-2.6.0/./enquire.c:650: undefined reference to `__main' *** Error code 1 and ... : Stop. :( I checked the libgcc.a library in the compilation directory (with nm) and it contains __main.o . So, what goes wrong? Could anybody please give me some advice??? Email them direct to me, I'll post a resume! Many thanks steve steve@bihq00.bi.ehu.es.
Technical Details
Message-ID:
<39lklt$5lp@scdx01.sc.ehu.es>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!sun.rediris.es!scdx01.sc.ehu.es!bihq00.bi.ehu.es!steveShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,20b2a3fe8e5265bf,start X-Google-Attributes: gid11318c,public X-Google-Thread: fcda7,20b2a3fe8e5265bf,start X-Google-Attributes: gidfcda7,public X-Google-Thread: 10996c,20b2a3fe8e5265bf,start X-Google-Attributes: gid10996c,public X-Google-ArrivalTime: 1994-11-07 10:18:56 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!sun.rediris.es!scdx01.sc.ehu.es!bihq00.bi.ehu.es!steve From: steve@bihq00.bi.ehu.es (Stephan Eppinger) Newsgroups: gnu.gcc.help,comp.sys.hp.hpux,comp.sys.hp.misc Subject: probs building gcc2.6.0 - undefined __main Date: 7 Nov 1994 16:29:49 GMT Organization: UPV/EHU Facultad de Informatica (San Sebastian) Lines: 32 Distribution: world Message-ID: <39lklt$5lp@scdx01.sc.ehu.es> NNTP-Posting-Host: bihq00.bi.ehu.es