How to cross compile 32 bit python 2.6.6 on ubuntu18.04 x64
by Vido from LinuxQuestions.org on (#4WAPK)
Im trying to compible 32 bit version of python 2.6.6 on x64 bit ubunutu x64 and I found that I need Code:CFLAGS=-m32 LDFLAGS=-m32 ./configurebut Im getting an error
Code:$ CFLAGS=-m32 LDFLAGS=-m32 ./configure
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux5
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Attached Files


Code:$ CFLAGS=-m32 LDFLAGS=-m32 ./configure
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux5
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Attached Files
![]() | config.log (7.4 KB) |
