[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    RE: Build complete, now I just need to "install" it...
From:       "Ryan Ginstrom" <software () ginstrom ! com>
Date:       2008-03-30 15:40:07
Message-ID: 084501c8927c$54cfbe80$0203a8c0 () MOUSE
[Download RAW message or body]

> On Behalf Of axl
> Since I don't have access to MSVS 2003 I need to rebuild 
> Python using MSVS 2008 in order for the binaries to go along.

Another option is to compile your extensions with gcc, and specify that it
link to MSVCR71.dll as the C runtime.

For MinGW, it's sufficient to edit the specs (e.g. in
C:\MinGW\lib\gcc\mingw32\3.4.2) like so:
*libgcc:
%{mthreads:-lmingwthrd} -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcr71

And tell distutils to use mingw, by putting this in
lib/distutils/distutils.cfg:
[build]
compiler=mingw32
[build_ext]
compiler=mingw32

Regards,
Ryan Ginstrom

-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic