Link Error: GCC 4.2.0 on SunOS-5.8

asyropoulos@aol.com asyropoulos@aol.com
Thu Feb 3 19:05:00 GMT 2011


>My ld version is - 2.16.1. Is this compatible with GCC 4.2.0? My build 
is using
/>following options:
>" Configured with: /vobs/gnu/gcc/build/src/configure 
--prefix=/vobs/gnu/gcc/SunOS-5.8
>--enable-languages=c,c++ --with-as=/usr/ccs/bin/as 
--with-ld=/usr/ccs/bin/ld
>--enable-shared --with-stabs"



We have some differences:

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i386-pc-solaris2.11/4.5.2/lto-wrapper
Target: i386-pc-solaris2.11
Έχει ρυθμιστεί με: ../gcc-4.5.2/configure --prefix=/usr 
--program-suffix=-4.5.2 --infodir=/usr/share/info 
--mandir=/usr/share/man --libexecdir=/usr/lib --enable-shared 
--disable-static --disable-libtool-lock --target= --enable-objc-gc 
--disable-libada --enable-libssp 
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-threads=posix 
--enable-tls=yes --with-system-zlib --without-gnu-ld 
--with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/usr/sfw/bin/gas 
--with-gmp-lib=/usr/lib --with-mpfr-lib=/usr/lib --enable-c99 
--enable-nls --enable-wchar_t --enable-libstdcxx-allocator=mt 
--with-pic --enable-multilib
Μοντέλο νημάτων: posix
gcc version 4.5.2 (GCC)

The main difference seems to be that I am using the GNU as while you 
are using the Solaris as.

Apostolos



More information about the Gcc-help mailing list