Hi On Fri, 10 Jul 2009 12:38:10 +0200 Lennart Borgman <lennart.borg...@gmail.com> wrote:
> I think the instructions for downloading the compiler is a bit hard to > find on http://mingw.org/. Maybe the instructions on this page are > those to recommend: > > http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite The link on this page for installer executable leads to downloads list. https://sourceforge.net/projects/mingw/files/# Ok, I will describe my actions by steps: 0. uninstall, delete, and so on all previous installations. 1. emacs src from CVS is ready. 2. download gcc-full-4.4.0-mingw32-bin-2.tar.lzma from https://sourceforge.net/projects/mingw/files/, unpack it to C:\MinGW\ 3. download binutils-2.19.1-mingw32-bin.tar.gz from https://sourceforge.net/projects/mingw/files/, unpack it to C:\MinGW\ 4. download mingw32-make-3.81-20080326-3.tar.gz from https://sourceforge.net/projects/mingw/files/, unpack it to C:\MinGW\ file mingw32-make.exe rename to make.exe 5. download coreutils-5.3.0.exe from http://gnuwin32.sourceforge.net/packages.html install it to C:\GnuWin32\ 6. download texinfo-4.13a-setup.exe from http://gnuwin32.sourceforge.net/packages.html install it to C:\GnuWin32\ 7. add C:\MinGW\bin\ to PATH environment variable. add C:\GnuWin32\bin\ to PATH environment variable. Restart shell. 8. cd C:\Temp\emacs\nt\ C:\Temp\emacs\nt>configure.bat Checking for 'cp'... Checking for 'rm'... Checking whether 'gcc' is available... Checking whether gcc requires '-mno-cygwin'... Checking whether W32 API headers are too old... C:\Temp\emacs\nt>gcc -c junk.c junk.c:1:22: error: windows.h: No such file or directory junk.c:2:20: error: usp10.h: No such file or directory junk.c:3: ╨╛╤И╨╕╨▒╨║╨░: expected ')' before 'pHeader' 9. download w32api-3.13-mingw32-dev.tar.gz from http://gnuwin32.sourceforge.net/packages.html unpack it to C:\MinGW\ once again C:\Temp\emacs\nt>configure.bat Checking for 'cp'... Checking for 'rm'... Checking whether 'gcc' is available... Checking whether gcc requires '-mno-cygwin'... Checking whether W32 API headers are too old... C:\Temp\emacs\nt>gcc -c junk.c In file included from c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/windef.h:253, from c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/windows.h:48, from junk.c:1: c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winnt.h:37:20: error: string.h: No such file or directory In file included from c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/ole2.h:9, from c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/windows.h:114, from junk.c:1: c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/objbase.h:12:20: error: stdlib.h: No such file or directory pfff... in case of success, it will result in my instruction for teapots :) -- Konstantin <kosta...@yandex.ru>