[LLVMdev] configure llvm for 32-bit build on a 64-bit system

Rafael Avila de Espindola rafael.espindola at gmail.com
Fri Mar 4 11:44:36 PST 2011


On 11-03-04 01:47 PM, Junjie Gu wrote:
> I have TOT of llvm and it builds 64-bit without issues on my 64-bit
> ubuntu.  My question is how to build 32-bit llvm on my 64-bit ubuntu ?
> I've not found any configure options to specify that.
>

CC="gcc -m32" CXX="g++ -m32" should do in.

> Thanks
> Junjie


Cheers,
Rafael



More information about the llvm-dev mailing list