This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Cross compiler problem (xgcc does not find standard includes)
- To: Mumit Khan <khan at xraylith dot wisc dot EDU>
- Subject: Re: Cross compiler problem (xgcc does not find standard includes)
- From: Martin Kahlert <martin dot kahlert at mchp dot siemens dot de>
- Date: Thu, 1 Jul 1999 10:29:00 +0200
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: <199906301033.MAA00950@keksy.mchp.siemens.de> <199906301730.MAA23562@mercury.xraylith.wisc.edu>
- Reply-To: martin dot kahlert at mchp dot siemens dot de
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