This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Cross toolchain problem.
- From: Sjei Ryhstrup <sjei_rhystrup at yahoo dot com>
- To: NIIBE Yutaka <gniibe at m17n dot org>
- Cc: binutils at sourceware dot org
- Date: Fri, 28 Sep 2007 10:09:30 -0700 (PDT)
- Subject: Re: Cross toolchain problem.
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