compile quantlib by gcc3.2.2 on windows

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

compile quantlib by gcc3.2.2 on windows

gaof-2
Hello

Does someone know whether quantlib0.3.1 can be compiled with gcc3.2.2 on windows(MinGW)?

I get such error message when making the examples:
-----------------------
Making all in Examples
make[1]: Entering directory `/local/Quantlib/Examples'
Making all in BermudanSwaption
make[2]: Entering directory `/local/Quantlib/Examples/BermudanSwaption'
/bin/sh ../../libtool --mode=link g++  -g -O2   -o BermudanSwaption.exe  BermudanSwaption.o ../../ql/libQuantLib.la
g++ -g -O2 -o BermudanSwaption.exe BermudanSwaption.o  ../../ql/.libs/libQuantLib.a
E:/MSYS/1.0/mingw/bin/../lib/gcc-lib/mingw32/3.2.2/../../../libstdc++.a(c++locale.o)(.text+0x3a0): undefined reference to `strtold'
make[2]: *** [BermudanSwaption.exe] Error 1
make[2]: Leaving directory `/local/Quantlib/Examples/BermudanSwaption'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/Quantlib/Examples'
make: *** [all-recursive] Error 1
-----------------------

Any suggestion is welcome!