[LLVMdev] Enable soft-float

Xun Li lxfind at gmail.com
Thu Mar 31 18:39:32 PDT 2011


Hi All,

I am working on a custom defined architecture which implements Sparc
ISA but without floating point instructions.
I have two questions regarding using LLVM:
1. How to enable soft-float when building llvm-gcc?
2. How to let llvm-gcc generate native code (binaries) for Sparc? Do I
have to compile glibc or newlib for Sparc and link with it together?
I am kinda confused so it would be great if anyone could offer some help.
Thanks!

-- 
Xun Li
Computer Architecture Lab
Department of Computer Science
University of California, Santa Barbara



More information about the llvm-dev mailing list