Note that there are some explanatory texts on larger screens.

plurals
  1. POChange build c compiler
    primarykey
    data
    text
    <p>I'm trying to build python 2.6.8 from source code on an AIX 6.5 machine, but several modules can't build successful. In the build process, there is a XLC man page jumps out and stucks. I have to press <code>q</code> to end the man page and the process will continue. So I'm thinking whether is because the build invokes the default XLC compiler, and I'm trying to change the default compiler to g++:</p> <pre><code>make clean CC=/bin/gcc CXX=/bin/g++ ./configure make </code></pre> <p>But it seems doesn't work, the XLC man page still pops up, and the moduls fail to build.</p> <p>How can I make sure it will use g++ instead of XLC? Thanks.</p> <p><strong>Update</strong></p> <p>This is the log after <code>CC=/bin/gcc CXX=/bin/g++ ./configure</code></p> <pre><code>-bash-3.2$ CC=/bin/gcc CXX=/bin/g++ ./configure checking for --enable-universalsdk... no checking for --with-universal-archs... 32-bit checking MACHDEP... aix6 checking EXTRAPLATDIR... checking machine type as reported by uname -m... 00F63F144C00 checking for --without-gcc... checking for gcc... cc_r checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc_r accepts -g... yes checking for cc_r option to accept ISO C89... -qlanglvl=extc89 checking for --with-cxx-main=&lt;compiler&gt;... no checking how to run the C preprocessor... cc_r -qlanglvl=extc89 -E checking for grep that handles long lines and -e... /opt/freeware/bin/grep checking for egrep... /opt/freeware/bin/grep -E </code></pre> <p>In that I see the line <code>checking whether we are using the GNU C compiler... no</code>, does that mean it is not using the gcc?</p> <p>And also in the log of make </p> <pre><code>checking for __attribute__((visibility("hidden")))... no cc_r: 1501-210 (W) command option t contains an incorrect subargument </code></pre> <p>right after the above log, the man page of xlc pops up.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload