[LLVMdev] Using LLVM as a cross compiler without fully retargeting gcc?

Chris Lattner sabre at nondot.org
Tue Apr 10 11:18:42 PDT 2007


On Tue, 10 Apr 2007, [ISO-8859-1] Pertti Kellomäki wrote:
> Is this correct? If so, can I just grab any one of the targets
> supported by gcc, and modify the data sizes etc. to my liking?

Yep, that should work.  If you just use -emit-llvm all the time, you 
should be able to use any target GCC supports.

> Any technical reasons to avoid or prefer any one of the targets?

Not that I can think of,

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/


More information about the llvm-dev mailing list