Additional Vista info:

The info is great. Some more comments if you use Vista and MinGW:

  • Install MinGW directly under the root of your hard drive (i.e. C:\mingw)
  • You need to add references for the lib and libexe to path. I do this though a batch file (see below)
  • In the same batch file I also set the environmental variables for the search paths to include files and libraries.
  • The batch file was found somewhere on the internets, but I've forgotten where.
  • This worked for PyCrypto under Vista Ultimate, but YMMW ;-)


@echo off

echo MinGW Enviroment Command Console
echo ....
echo ....
@set MINGWROOT=C:\MinGW
@set MINGWBIN=%MINGWROOT%\bin
@set MINGWINCLUDE=%MINGWROOT%\include
@set MINGWLIB=%MINGWROOT%\lib
@set MINGWLIBEXEC=%MINGWROOT%\libexec\gcc\mingw32\3.4.5
@set MINGWBIN2=%MINGWROOT%\mingw32\bin
@set MINGWLIB2=%MINGWROOT%\mingw32\lib\ldscripts
@set MINGW=%MINGWROOT%;%MINGWBIN%;%MINGWINCLUDE%;%MINGWLIB%;%MINGWLIBEXEC%;%MINGWLIB2%;%MINGWLIB2%

rem to add more resource paths just use the set command like above and the and it to the set PATH like below

@set Path=%MINGW%;%Path%

Written in WikklyText.

Reply

The content of this field is kept private and will not be shown publicly.