This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs 1.0 g++ woes


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]