Building C extensions

P

Paolo Pantaleo

Well I'm just courious: if I want to buid a C extension, I shoul use
the same compiler that has been used to build python (right?). Since
python has been built using Visual C, how can I build an extension if
I don't have Visual Studio?

PAolo
 
J

JW

A few months ago, I suffered the same misfortune of needing to port a
pyrex-generated extension to Windows. I'm sure it's easier than I made
it, but have a look at the thread:

http://tinyurl.com/yb4bps

If you're developing under Windows (you poor fellow!), you may actually
have a slightly easier time than did I.

Jim Wilson
Gainesville, FL
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Paolo said:
Well I'm just courious: if I want to buid a C extension, I shoul use
the same compiler that has been used to build python (right?). Since
python has been built using Visual C, how can I build an extension if
I don't have Visual Studio?

If you don't have mingw32, either, you can't build the extension module.
You need to get a supported compiler. If you don't have one, find
somebody who builds the extension for you.

Regards,
Martin
 

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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top