This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: Cross compiler problem (xgcc does not find standard includes)


Quoting Mumit Khan (khan@xraylith.wisc.EDU):
> Martin,
> 
> As Jeff says, you need the target includes (and libraries if you want
> actually link!).
> 
> See my howto for building cross and canadian cross tools for Cygwin/Mingw
> at:
>   
>   http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
>   http://www.delorie.com/howto/
> 
> I take a slightly different approach than the crossgcc folks, but I find
> it easier and trivially scriptable.

Thanks for your reply,
as i wrote Jeff in a private mail, these includes/libs were actually copied to their
position before (as indicated by the cross-FAQ).

I think, my problem was LANGUAGES=... instead of --enable-languages=...
After i changed that, the compilation passed through.
I am no struggling with cross building f77.
(with egcs-1.1.2 this was much simpler i think).

Thanks again,
Martin.
 
-- 
esa$ gcc -Wall -o ariane5 ariane5.c
ariane5.c: 666: warning: long float implicitly truncated to unsigned type
esa$ ariane5


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