sparc64

jaca jherold@interia.pl
Fri Dec 31 13:12:00 GMT 2004


Hello everyone.

I have some troubles while compiling gcc for SUN sparc64 machine.

the configure options are

../gcc-3.4.1/configure --prefix=/tools \
    --libexecdir=/tools/lib --with-local-prefix=/tools \
    --disable-nls --enable-shared --enable-languages=c

then make: make BOOT_LDFLAGS="-static" bootstrap

and obtain the following error:

/tools/sparc64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/tools/sparc64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/tools/sparc64-unknown-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/source/gcc-build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/source/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/source/gcc-build/gcc'
make: *** [bootstrap] Error 2
[root@localhost gcc-build]#

Is this a problem with my configure options? I've been trying to find
the solution with google - but couldn't find to sparc64.

Could someone help me or show where to find the solution.

thank You Jacek


----------------------------------------------------------------------
Startuj z INTERIA.PL!!! >>> http://link.interia.pl/f1837



More information about the Gcc-help mailing list