From: Earnie B. <ear...@ya...> - 2003-06-24 14:02:19
|
Mats Liljegren wrote: > Earnie Boyd wrote: > >> Have you installed the mingw-runtime package in >> /homedirectories/home6/mlil/proj_links/mingw/cross/mingw32/ >> >> Earnie. > > > > Ehm, no... > > So I downloaded the source, did a > > ../mingw-runtime-3.0/configure > -prefix=/homedirectories/home6/mlil/proj_links/mingw/cross -target=mingw32 > Well, the prebuild binary should work. > and tried make. It immediately spit out: > > gcc -c -D__CRTDLL__ -U__MSVCRT__ -g -O2 -I > ../mingw-runtime-3.0/../w32api/include -I../mingw-runtime-3.0/include > -I../mingw-runtime-3.0/../include -nostdinc -nostdinc++ > -iwithprefixbefore include ../mingw-runtime-3.0/crt1.c -o crt1.o > In file included from ../mingw-runtime-3.0/crt1.c:38: > ../mingw-runtime-3.0/include/float.h:35: float.h: No such file or directory > ../mingw-runtime-3.0/crt1.c:40: windows.h: No such file or directory > Oh, yes you need the w32api package as well. The prebuild binary should work fot this as well. > It seems like it expects an include directory parallell to the source > directory. Should I do a symbolic link pointing to /usr/include, so that > "-I../mingw-runtime-3.0/../include" becomes legal? > The headers for your OS won't work for a mingw32 target, they aren't the same. So, this symbolic link is bogus. See http://www.mingw.org/mingwfaq.shtml#faq-cross for more info. Earnie. |