This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Problem compiling gcc 3.1 on Solaris 9 - skipping incompatible /lib/libc.so when searching for -lc ....


On Fri, May 17, 2002 at 11:42:15PM +0200, Nick Rosier wrote:
> Hi,
> 
> I'm trying to compile gcc 3.1 on Solaris 9 (32-bit). I'm using gcc 3.0.4 
> (with gnu ld and gnu as).
> 
> /home/nick > uname -a
> SunOS songoku 5.9 Generic sun4u sparc SUNW,Ultra-1
> /home/nick > gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.0.4/specs
> Configured with: ./configure  : (reconfigured) ./configure --with-gnu-as 
> --with-gnu-ld
> Thread model: posix
> gcc version 3.0.4
> 
> I get following errors:
> 
> /home/nick/compile/gcc-3.1/gcc/xgcc -B/home/nick/compile/gcc-3.1/gcc/ 
> -B/usr/local/sparc-sun-solaris2.9/bin/ 
> -B/usr/local/sparc-sun-solaris2.9/lib/ -isystem 
> /usr/local/sparc-sun-solaris2.9/include -O2  -DIN_GCC   -W -Wall 
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem 
> ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 
> -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs  
> -Wl,--soname=libgcc_s.so.1  
> -Wl,--version-script=libgcc/sparcv9/libgcc.map  -o 
> sparcv9/libgcc_s.so.1  -m64  libgcc/sparcv9/_muldi3.o 
  ^^^^^^^                ^^^^	      ^^^^^^^
How did you configure your new compiler? This cannot work if your
system is 32 bit.

> Has anybody been able to compile 3.1 on Solaris 8 or 9?

Both, a 32 bit and a 64 bit version on Solaris 8.

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2583
Dipl.-Wirtsch.informatiker	mailto:rschiele@uni-mannheim.de

Attachment: msg01553/pgp00000.pgp
Description: PGP signature


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