Question

What is the best way to force a configure script to build a 32-bit code?

I have a 64-bit machine, and trying to build a 32-bit code. Tried setting the --build type with several options, but this just doesn't work.

Thanks!

Was it helpful?

Solution

Try to add -m32 to the CFLAGS.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top