Cross toolchain problem.
Sjei Ryhstrup
sjei_rhystrup@yahoo.com
Fri Sep 28 20:48:00 GMT 2007
Hi,
I've tracked down the problem. When cross-compiling,
gcc looks for system headers in
$prefix/$target/sys-include instead of
$prefix/$target/include. Not sure why include isn't
searched, but I simply symlinked sys-include to
include and it now generates the proper limits.h.
--- NIIBE Yutaka <gniibe@m17n.org> wrote:
> Sjei Ryhstrup wrote:
> > I'm having trouble building an arm-linux-gnu
> > cross toolchain (gcc-4.2.1 + binutils-2.18 +
> > glibc-2.6.1 + linux-2.6.22.6).
>
> FWIW, I have encountered similar issue for
> m32r-linux-gnu or
> sh[34]-linux-gnu.
>
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02090.html
>
> I don't follow GCC these days. Perhaps, yours would
> not be the case,
> but just for your information.
> --
>
____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658
More information about the Binutils
mailing list