By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,222 Members | 2,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,222 IT Pros & Developers. It's quick & easy.

MS Compiler to build Python 2.3 extension

P: n/a
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
gr*******@goombah.com
207-942-3463
Company: http://emergentmusic.com
Blog: http://www.garyrobinson.net

Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

[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.

--
Richie Hindle
ri****@entrian.com

Jul 19 '05 #2

P: n/a
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.

Jul 19 '05 #3

P: n/a

[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!

--
Richie Hindle
ri****@entrian.com

Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.