Bugs item #1633863, was opened at 2007-01-12 09:46
Message generated for change (Settings changed) made by jabt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1633863&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Johannes Abt (jabt)
Assigned to: Nobody/Anonymous (nobody)
>Summary: AIX: configure ignores $CC; problems with C++ style comments

Initial Comment:
CC=xlc_r ./configure does not work on AIX-5.1, because configure 
unconditionally sets $CC to "cc_r":

        case $ac_sys_system in
        AIX*)   CC=cc_r
                without_gcc=;;


It would be better to leave $CC and just add "-qthreaded" to $CFLAGS. 

Furthermore, much of the C source code of Python uses C++ /C99 comments. This 
is an error with the standard AIX compiler. Please add the compiler flag 
"-qcpluscmt".

An alternative would be to use a default of "xlc_r" for CC on AIX. This calls 
the compiler in a mode that both accepts C++ comments and generates reentrant 
code.

Regards,
Johannes

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1633863&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to