How to build the 32bit version of llvm in the ubuntu 64bit

Hi, all:
I want to build the 32bit version of llvm in the ubuntu 64bit, need I add some parameter?
Thanks
yao

Hi Yao,

I want to build the 32bit version of llvm in the ubuntu 64bit, need I add
some parameter?

If you're using CMake, it's "-DLLVM_BUILD_32_BITS=ON". I couldn't see
an autotools equivalent after a quick grep. You might be able to do
something by adding "-m32" to CFLAGS or other hackery though.

Tim

you can refer