[LLVMdev] problem with sgt's on Sparc machine (original) (raw)

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Thu Sep 15 11:28:32 PDT 2011


On Thu, Sep 15, 2011 at 11:06 AM, Christine Cheng <clcheng at stanford.edu> wrote:

Hi Duncan,

Thanks for the reply! There is no LLVM on the Sparc machine so I cannot compile my code there into .s file. How shall I modify the target data layout and triple so it works on Sparc? Basically I got these from compiling C code using llvm-gcc.

You can use clang for that: clang -ccc-host-triple sparc-unknown-linux -ccc-clang-archs sparc ...

-- Bruno Cardoso Lopes http://www.brunocardoso.cc



More information about the llvm-dev mailing list