[LLVMdev] Using LLVM as a crosscompiler

Koen Kooi koen at dominion.kabel.utwente.nl
Sun Apr 1 13:16:48 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anton Korobeynikov schreef:
> Hello, Koen.
> 
>> So my question is: How should I build llvm and llvm-gcc4 to have it cross-compile from x86
>> to ARM/EABI?
> Well, just supply appropriate --host/--target options to configure. 

To llvm or llvm-gcc4?

> I haven't tried ARM, but this definitely works for crosscompiling from
> linux to mingw32. Please also note, that you'll need native (=arm) tools
> (binutils, libcheaders, etc)

You mean binutils-cross, right?

> during gcc build process.

Building gcc as a crosscompiler is fully automized in OpenEmbedded, I'm trying to add
llvm-gcc4 into that framework.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGEBMwMkyGM64RGpERAnL+AKC4gtxNAPJetf0kOPJC2NAqF31tDwCfWmAu
WiNlCu36rf5JQ+AwGs7VSMs=
=LLY2
-----END PGP SIGNATURE-----



More information about the llvm-dev mailing list