Weave - inline C

M

Michael Foord

Has anyone had success using weave with gcc for windows (standard
windows distribution python)?

I have my distutils setup to use gcc (via mingw32) - which it does
fine. I've compiled and installed various modules with it. Weave
itself installs fine, picking up the settings from distutils.

However it has it's own version of distutils 'scipy_distutils' that it
uses to compile the C it is given - which complains that it can't find
msvcc.... The documentation included (which is actually for the 0.2
version) gives no hints and I wondered if anyone had any success in
using it ?

Regards,


Fuzzy

http://www.voidspace.org.uk/atlantibots/pythonutils.html
 
R

Robert Kern

Michael said:
Has anyone had success using weave with gcc for windows (standard
windows distribution python)?

I have my distutils setup to use gcc (via mingw32) - which it does
fine. I've compiled and installed various modules with it. Weave
itself installs fine, picking up the settings from distutils.

However it has it's own version of distutils 'scipy_distutils' that it
uses to compile the C it is given - which complains that it can't find
msvcc.... The documentation included (which is actually for the 0.2
version) gives no hints and I wondered if anyone had any success in
using it ?

Use compiler='gcc' as a keyword argument for weave.inline(), etc.

Yes, the documentation is fantastically out of date.
Regards,


Fuzzy

--
Robert Kern
(e-mail address removed)

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
 

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,774
Messages
2,569,596
Members
45,144
Latest member
KetoBaseReviews
Top