This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]