This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
sparc64
- From: jaca <jherold at interia dot pl>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 31 Dec 2004 14:11:37 +0100
- Subject: sparc64
- Reply-to: jaca <jherold at interia dot pl>
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