3.1, Sun, sparc, solaris2.5.1

Jan Van Belle Jan.Van_Belle@alcatel.be
Thu Jun 13 01:31:00 GMT 2002


Try to compile the new GCC version with the newest binutils (2.12 ??)

When configuring GCC, use the options: --with-gnu-ld --with-gnu-as
I had the same problem on solaris2.6

Regards,

Jan
Hugh Sasse Staff Elec Eng wrote:

> I didn't see anything in the known issues file that looks relevant, but
> trying to build 3.1 on solaris 2.5.1 I get:
> libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o
> libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o
> libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o
> libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f
> libgcc_s.so && ln -s libgcc_s.so.1 libgcc_s.so
> /usr/local/sparc-sun-solaris2.5.1/bin/ld:libgcc/./libgcc.map: file
> format not recognized; treating as linker script
> /usr/local/sparc-sun-solaris2.5.1/bin/ld:libgcc/./libgcc.map:1: parse
> error
> collect2: ld returned 1 exit status
> gmake[3]: *** [libgcc_s.so] Error 1
> gmake[3]: Leaving directory `/apps/hgs/gcc-build/gcc'
>

--
Jan Van Belle
Jan.Van_Belle@alcatel.be







More information about the Gcc-help mailing list