Login  Register

Re: anyone using Quantlib-Swig-0.9.6+ with Python 2.3?

Posted by Luigi Ballabio on Jan 13, 2009; 9:04am
URL: http://quantlib.414.s1.nabble.com/anyone-using-Quantlib-Swig-0-9-6-with-Python-2-3-tp6992p6994.html

On Mon, 2009-01-12 at 07:05 -0800, kmanley wrote:
> I've seen some references on the web to the fact that mingw32 can be used to
> build Python 2.3 C extensions. So my question is has anyone ever built
> QuantLib-SWIG 0.9.6+ using mingw32? If so can you please tell me exactly the
> steps you took to do so.

It's been years since I did it, but I guess you'll have to:

1) build QuantLib with gcc. You can do it either from within the mingw
shell (I'm not familiar with that, though) or with Dev-C++ by using the
QuantLib.dev project distributed in the release;

2) tell Python to use gcc when compiling the extension. You'll do it by
running

python setup.py build --compiler=mingw32

As I said, it's been a while, so the above might fail. Please tell me
how you fare, so we can try to fix any errors...

Luigi


--

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" but "That's funny..."
-- Isaac Asimov



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users