473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

MS Compiler to build Python 2.3 extension

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
3 1271

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

[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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

188
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
1
by: Grant Edwards | last post by:
I've been using the pylibpcap extension module for several years, but I can't get it to build under 2.4: $ python setup.py build /usr/lib/python2.4/distutils/dist.py:222: UserWarning: 'licence'...
48
by: meyer | last post by:
Hi everyone, which compiler will Python 2.5 on Windows (Intel) be built with? I notice that Python 2.4 apparently has been built with the VS2003 toolkit compiler, and I read a post from Scott...
3
by: alexandre_irrthum | last post by:
Hi there, I am trying to install a Python library with a C extension (the Polygon library) and I am having a bad time. My Python version is Python 2.4.3 - Enthought Edition 1.0.0 (#69, Aug 2...
0
by: Grant Edwards | last post by:
I've got a system where I try to install extensions using /usr/local/bin/python setup.py install But, it fails when it tries to use a non-existant compiler path and specs file. I suspect it's...
0
by: Patrick Stinson | last post by:
I built python-2.5.1 from source using Visual Studio 2005, and am also trying to build my extension using distutils and Visual Studio 2005. Distutils complains about python being built with VS...
0
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb ...
0
by: M.-A. Lemburg | last post by:
On 2008-10-25 08:39, Akira Kitada wrote: Please post a bug report on python.org about these failures. The multiprocessing module is still fairly new and obviously needs more fine tuning for...
0
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.