Re: Trying to build a toolchain for SH4, failed to compile final GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sébastien GRENIER <sebastien.grenier7@xxxxxxx> writes:

> /home/sandbox/cdks/test/output/cdk/bin/sh4-unknown-linux-gnu-ld: skipping
> incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
> /home/sandbox/cdks/test/output/cdk/bin/sh4-unknown-linux-gnu-ld: cannot find
> /lib/libc.so.6

If I understand correct, you are trying to build a cross-compiler.
/lib/libc.so.6 is going to be a host library, so you don't want to
link against it.  The reference is probably coming from the libc.so
linker script.  You probably need to use --sysroot when you run
configure.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux