[LLVMdev] Using LLVM as a crosscompiler
koen at dominion.kabel.utwente.nl
Sun Apr 1 13:16:48 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
More information about the llvm-dev