Building QuantLib-SWIG for Python and specify compiler

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Building QuantLib-SWIG for Python and specify compiler

Stale-2
Hi all,

I have compiled and installed Boost+QuantLib using Microsoft Visual C++ Express Edition, and are now trying to build QuantLib-SWIG. However, I also have MinGW intalled which apparently is the preferred compiler. 

How could I choose which compiler to use during the build?? Something like python setup.py build -compiler=xxx I guess, but what should xxx be like?

Thanks for any help!

Cheers
Bjørn



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Building QuantLib-SWIG for Python and specify compiler

Luigi Ballabio
On Thu, 2009-07-30 at 12:13 +0200, Bjorn Skogtro wrote:

> How could I choose which compiler to use during the build?? Something
> like python setup.py build -compiler=xxx I guess, but what should xxx
> be like?

python setup.py build --help-compiler

lists the available compilers for the -compiler option.

Luigi


--

The economy depends about as much on economists as the weather does on
weather forecasters.
-- Jean-Paul Kauffmann



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users