On 5/18/08, Sisyphus <[EMAIL PROTECTED]> wrote: > > ----- Original Message ----- From: "NightStrike" <[EMAIL PROTECTED]> > To: "Sisyphus" <[EMAIL PROTECTED]> > Cc: <mingw-w64-public@lists.sourceforge.net> > Sent: Sunday, May 18, 2008 4:47 PM > Subject: Re: [Mingw-w64-public] Cannot #include <windows.h> > > > > On 5/18/08, Sisyphus <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > C:\>type try.c > > > #include <windows.h> > > > > > > int main(void) { > > > return 1; > > > } > > > > > > C:\>gcc -o try.exe try.c > > > > > > > Do this: > > > > gcc -o try.exe try.c -v > > > > C:\_64>gcc -o try.exe try.c -v > Using built-in specs. > Target: x86_64-pc-mingw32 > Configured with: ../build/gcc-svn/gcc/configure --target=x86_64-pc-mingw32 > --pre > fix=/var/tmp/w64 --with-sysroot=/var/tmp/w64 --host=x86_64-pc-mingw32 > Thread model: win32 > gcc version 4.4.0 20080507 (experimental) (GCC) > COLLECT_GCC_OPTIONS='-o' 'try.exe' '-v' '-mtune=generic' > cc1 -quiet -v -iprefix > c:\_64\../lib/gcc/x86_64-pc-mingw32/4.4.0/ try.c -quiet > -dumpbase try.c -mtune=generic -auxbase try -version -o ./ccX0Z06C.s > ignoring nonexistent directory > "c:\_64\../lib/gcc/x86_64-pc-mingw32/4.4.0/include" > ignoring nonexistent directory
This looks wrong. The zip file that you downloaded should be extracted into some directory (say c:\win64). Then the /bin directory off of that needs to be put into your PATH: PATH=C:\win64\bin;%PATH% Is that what you did? Can you show me your PATH (type: PATH). Also, can you explain how you installed it, and tell me what the full path is to the gcc that's being called when you type "gcc". ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public