ENV: windows xp VS2010/C++
1. replace `#define ___BOOL @CONF_BOOL@' with `#define ___BOOL bool' of file include/gambit.h.in 2. copy misc/vc2008.bat to misc/vc2010.bat 3. change @call "D:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat" to @call "D:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat" 4. adding the options -TP (compile as C++ code) and -EHsc (enable c++ exceptions) to misc/vc2008.bat 5. modifications (there is some type casting from void* to non-void* which require explicit cast in c++) of file lib\os_files.c - mbstowcs (gambcdir, temp, cch); + mbstowcs ((wchar_t *)gambcdir, temp, cch); http://thread.gmane.org/gmane.lisp.scheme.gambit/4419 6. > cd gambc-v4_6_6 > misc\vc2010.bat
Afficher les réponses par date