problem compiling gcc 3.0.1 with solaris 2.6

Thanh-Lam NGUYEN
Mon Sep 10 02:09:00 GMT 2001

My system conf :
sun sparc ultra5 with solaris 2.6
binutils 2.11.2
gcc 2.95.3

the config command I used :
env CFLAGS='-I/users/nguyen56/local/include'
CPPFLAGS='-I/users/nguyen56/local/include' ../gcc-3.0.1/configure
--with-gnu-ld=/users/nguyen56/local/bin/ld --enable-languages=c++,c

I compile binutils and all my stuff with this prefix

when I do 'make bootstrap', I get the following error:

/users/nguyen56/local/sparc-sun-solaris2.6/bin/ file
format not recognized; treating as linker script
/users/nguyen56/local/sparc-sun-solaris2.6/bin/ parse
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory `/disk1/gcc.objdir/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/disk1/gcc.objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/disk1/gcc.objdir/gcc'
make: *** [bootstrap] Error 2
Exit 2

I don t know what to do, someione can help ?

More information about the Gcc-help mailing list