6
rated 0 times
[
6]
[
0]
/ answers: 1 / hits: 13440
/ 2 Years ago, sun, february 6, 2022, 10:43:22
I'm trying to compile a 32 bit version of python on a 64 bit ubuntu system with the following configure command:
CC="gcc -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -Lpwd/lib32 -Wl,-rpath,/lib32
-Wl,-rpath,/usr/lib32" ./configure --prefix=/opt/pym32
then make, make install. No errors, but it should be something wrong because a "readelf -h python" tells me that python was build as a ELF64 instead.
More From » 64-bit