This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs 1.0 g++ woes
- To: egcs-bugs at cygnus dot com
- Subject: egcs 1.0 g++ woes
- From: Bernd Knochenhauer <bones at nwu dot de>
- Date: Tue, 9 Dec 1997 01:23:17 +0100 (MET)
Just typing ´g++´ at the command lines gives this output:
castle:> g++
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x5a): undefined reference to `main'
collect2: ld returned 1 exit status
1. I installed precompiled binutils-2.8.1.0.15 before building egcs 1.0
2. I used configure with these options:
--with-gnu-as --with-gnu-ld --enable-shared --enable-haifa
--host=i586-pc-linux-gnulibc1
For some weird reason the configure script wasn´t able to determine
my system-type
3. Even though I used --with-gnu-ld, egcs seems to build & use collect2.
Why´s that ?!
4. Linux 2.0.29, libc.5.4.33
Does anyone have a clue ?
regards,
Bernd