[LLVMdev] How to generate 32 Bit executable ?

Somenath Chakraborty some.chak at gmail.com
Fri Jan 18 10:54:33 PST 2013


I have a very simple input llvm IR file. I wanted to generate a 32-BIT
a.out executable from this, but, couldn't make it. By default  it is 64 BIT.
Is there any way to dictate it from the input LLVM file or I am missing

The command I used : clang test.ll

I tried playing with "target datalayout" but no success yet.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130119/c328c81c/attachment.html>

More information about the llvm-dev mailing list