[LLVMdev] arm machine code with clang 3.2

GangRyung Uh guh at boisestate.edu
Fri Apr 12 16:54:12 PDT 2013


What would be the proper clang (3.2) options to generate ARM for Raspberry
pi for LLVM 3.2 with clang 3.2? I realized that "-ccc-host-triple" is no
longer valid option in clang.

p.s.
    I googled and found the following which doesn't work with clang 3.2.

To cross-compile for Raspberry Pi add flags -ccc-host-triple arm-eabi -marm
-mfpu=vfp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=softfp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130412/1b3d23ca/attachment.html>


More information about the llvm-dev mailing list