[MMTK] building on windows with mingw
Tue, 16 Jul 2002 20:17:20 -0500
How's it going? I was just trying to build mmtk with mingw on windows and thought I should send you what I found out. Some of the examples crashed so this may not be the best way to do it.
Not sure if that has to do with not having netcdf set up correctly or
maybe the lib2def step.
download mingw from http://sourceforge.net/project/showfiles.php?group_id=2435
extract it to c:/mingw
add the c:/mingw/bin to your PATH environment variable
test using 'C:\>gcc -v'
Should print out 'Reading specs from c:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-5/specs'
extract lib2def.py to C:\Python22\libs
replace Python15 with Python22 and python15 with python22 in lib2def.py
run C:\Python22\libs>lib2def.py python22.lib > python22.def
run C:\Python22\libs>dlltool --dllname python22.dll --def python22.def --output-lib libpython22.a
extract netcdf.h to C:\Python22\Lib\site-packages\MMTK-2.2\Include\MMTK
run C:\Python22\Lib\site-packages\MMTK-2.2>setup.py build --compiler=mingw32
run C:\Python22\Lib\site-packages\MMTK-2.2>setup.py install
Sign-up for your own FREE Personalized E-mail at Mail.com
Save up to $160 by signing up for NetZero Platinum Internet service.