CFLAGS are not taken into account properly

skip at pobox.com skip at pobox.com
Wed May 17 12:06:03 EDT 2006


    Toon> But some other (but 'similar') functionality is broken. Now I
    Toon> succeeded in compiling python. But when using distutils (e.g. when
    Toon> installing numarray using the setup.py), python will compile the
    Toon> files using the '-xarch=v9' option but drops this option when
    Toon> linking dynamic libraries (although I defined LDFLAGS="-xarch=v9"
    Toon> before configuring python).  Additionally python adds the option
    Toon> '-xcode=pic32' to the compile-command which will compile my
    Toon> numarray in 32bit instead of 64bit (while python itself is in
    Toon> 64bit)

That seems like a bug in distutils.  Can you submit a help ticket?

Skip



More information about the Python-list mailing list