views:

180

answers:

1

Hi.

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!

+3  A: 

Try to add -m32 to the CFLAGS.

KennyTM
Thanks, this has worked!
SyBer