[LLVMdev] how to make llvm-ld pass -m64 to as?

Chris Lattner clattner at apple.com
Thu Dec 11 20:38:00 PST 2008


On Dec 9, 2008, at 8:39 AM, Mattias Holm wrote:

> A quick question, is there any way to make llvm-ld pass -m64 to the
> assembler (when running llvm-ld with -native). By default AS generate
> 32 bit code on OS X (x86)?

I don't know the answer, because I don't use llvm-ld.  If you're on a  
mac, why not use transparent lto, which should handle this?

-Chris



More information about the llvm-dev mailing list