Compiling 64 bit python - using wrong stdlibc++
John Ky
johnk at aurema.commercial
Tue Nov 25 21:20:13 EST 2003
How do get python to build with the 64-bit version of stdlibc++?
For instance, I tried this:
export CC="gcc -mcpu=v9 -m64 -D_LARGEFILE64_SOURCE=1"
export LDFLAGS='-mcpu=v9 -m64'
export LDDFLAGS='-mcpu=v9 -m64 -G'
./configure --disable-ipv6 --prefix="$PWD/../local"
make
And it compiles, but fails to link with /usr/local/lib/stdlibc++.so.5
because it is the 32-bit version.
The 64-bit version, I believe is at /usr/local/lib/sparcv9/stdlibc++.so.5
Thanks
-John
More information about the Python-list
mailing list