MS Compiler to build Python 2.3 extension

G

garyrob

Hello,

I have no Microsoft compilers on my hard disk. I recenly built a C API
Python extension for Python 2.3 on OS X, and now I need to build it for
Windows.

When I start Python 2.3 on Windows, it says it was built with "MS C
v.1200". I'm not sure how that maps to current Microsoft compiler
products.

Someone who works with me (at another location) has MS Visual Studio
Pro 6.0 which he isn't using and can send to me. Will that do the
trick? Or do I need to buy another package?

Thanks,
Gary

--

Gary Robinson
CTO [of a very tiny company]
Emergent Music, LLC
(e-mail address removed)
207-942-3463
Company: http://emergentmusic.com
Blog: http://www.garyrobinson.net
 
R

Richie Hindle

[Gary]
I recenly built a C API Python extension for Python 2.3
on OS X, and now I need to build it for Windows. Will
[MS Visual Studio Pro 6.0] do the trick?

Yes. That's exactly the compiler that Python 2.3 itself, and most 2.3
extensions, were built with.
 
W

woodsplitter

MS Visual C++ 6 is indeed the compiler that the python.org
distributions are built with, but MinGW works fine too. In fact, the
code generated by MinGW-GCC 3.4.4 outpaces that generated by MSVC++ 6.0
by a considerable margin in some of my performance-critical extensions,
and the size of the binaries is often smaller.
 
R

Richie Hindle

[woodsplitter]
MS Visual C++ 6 is indeed the compiler that the python.org
distributions are built with

Just to add back some context for people not following the thread: this is
Python 2.3 we're talking about. 2.4 is built with Visual Studio.NET.
but MinGW works fine too. In fact, the
code generated by MinGW-GCC 3.4.4 outpaces that generated by MSVC++ 6.0
by a considerable margin in some of my performance-critical extensions,
and the size of the binaries is often smaller.

Interesting!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,701
Latest member
XavierQ83

Latest Threads

Top