Re: Re: quantlib-python compile error
Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/quantlib-python-compile-error-tp4088p4090.html
On 10/06/2005 10:15:57 PM, Yi Zhao wrote:
> I am trying to build quantlib-python in cygwin.
> Can anyone tell me how to disable the debug flag "-g" in the
> setup.py??
Unfortunately, distutils inherits that flag from Python---in order to
ensure compatibility, it tries to make sure extensions are compiled
with the same flags used to compile Python.
The only way I found was to modify the Makefile used for Python, which
distutils read---mine is in /usr/lib/python2.3/config/Makefile, but its
location might change under Cygwin.
Later,
Luigi
----------------------------------------
Though this be madness, yet there is method in't.
-- Hamlet, Act II, scene II