From: Rob P. <rob...@gm...> - 2005-02-14 13:33:54
|
On Mon, 14 Feb 2005 06:58:06 -0500 (EST), Earnie Boyd <ea...@us...> wrote: > > <quote who="Rob Pollock"> > > On Sun, 13 Feb 2005 09:22:09 -0500 (EST), Earnie Boyd > > <ea...@us...> wrote: > >> > >> <quote who="Rob Pollock"> > > > > Regarding failed attempt to compile mingw-runtime on mingw on windows > >> > > >> > $ make > >> > gcc -c -D__CRTDLL__ -U__MSVCRT__ -g -O2 -I ./../w32api/include > >> > -I./include -I./../include -nostdinc -iwithprefixbefore include > >> > crt1.c -o crt1.o > >> > crt1.c:21:21: windows.h: No such file or directory > >> > ..bunch of stuff missing from windows.h the compiler is complaining > >> > about... > >> > > > > >> > >> Try > >> > >> make W32API_INCLUDE='-I /mingw/include' > >> > >> Earnie > >> > > > > I tried this; it didn't work. The Makefile (default) actually has > > a line in it which redefines W32API_INCLUDE to point to the wrong > > directory, > > so that's why. > > > > All I can say is, it worked for me. I just gave it a whurl from the tarball. > > ./configure --prefix=/mingw > make W32API_INCLUDE='-I /mingw/include' > > Note: You need to change /mingw/include if you have a different path to > windows.h. > Doh! no it was the correct path for W32API_INCLUDE but the >wrong< --prefix for configure. I just did ./configure, not ./configure --prefix=/mingw working now... Thanks very much!!! Rob. |