List Info

Thread: trouble with -O3 flag




trouble with -O3 flag
user name
2006-03-15 07:18:50
Albert Cardona wrote:

> I am having trouble with a custom C python module. The
module works just fine
> when compiling it locally and running it directly in a
sort of debugging
> mode, but it doesn't when running compiled as the
python module that it is,
> with "python setup.py build_ext". I see
that the -O3 flag is on (along with
> the -g flag, doesn't make much sense) and I wonder how
can one disactivate
> the -O3 flag, so that I can see whether there's any
trouble from this
> direction.

you might have more success if you post to a more general
python forum;
I'd recommend comp.lang.python:

    http://www.pyt
hon.org/community/lists/

> Further, I have trouble finding the documentation for
the Python C API in
> regard to compiling modules. What I've found about
python 2.3.5 is very
> incomplete. I would appreciate some links to proper
documentation websites,
> if it exists.

most people use distutils, which is described in the
"distributing python
modules" and "installing python modules"
handbooks:

    http://docs.pyt
hon.org/dist/dist.html
    http://docs.pyt
hon.org/inst/inst.html

and has its own mailing list:

    http://www.python.org/community/sigs/current/distutil
s-sig/

hope this helps!

</F>



_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )