This is the mail archive of the gcc-help@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]

problem compiling gcc 3.0.1 with solaris 2.6


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'
CXXFLAGS='-I/users/nguyen56/local/include'
CPPFLAGS='-I/users/nguyen56/local/include' ../gcc-3.0.1/configure
--prefix=/users/nguyen56/local
--with-gnus-as=/users/nguyen56/local/bin/as
--with-gnu-ld=/users/nguyen56/local/bin/ld --enable-languages=c++,c
--with-included-gettext

I compile binutils and all my stuff with this prefix
/users/nguyen56/local

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


/users/nguyen56/local/sparc-sun-solaris2.6/bin/ld:libgcc.map: file
format not recognized; treating as linker script
/users/nguyen56/local/sparc-sun-solaris2.6/bin/ld:libgcc.map:1: parse
error
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] 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 ?


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