Bugs item #1633863, was opened at 2007-01-12 00:46
Message generated for change (Comment added) made by nnorwitz
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
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-01-18 21:47
Message:
Logged In: YES
user_id=33168
Originator: NO
There shouldn't be any C++ comments in the Python code. If there are, it
is a mistake. I did see some get removed recently. Could you let me know
where you see the C++ comments?
----------------------------------------------------------------------
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