[cfe-dev] building clang as a crosscompiler
cedric.venet at laposte.net
Thu Jul 24 09:06:07 PDT 2008
Luís Marques a écrit :
> I'm having some problems building clang as a crosscompiler.
> What's the status on crosscompilation?
> Can you, say, build clang on a x86_64 to compile for powerpc? (I got
> error while building clang)
> Can you build clang to compile for pic16? I can't get configure to
> accept the target.
> Luís Marques
I think you just need to compile clang/llvm for your devel architecture
(x86_64) and then you pass the correct architecture (or triple) argument
to clang when exectuting. you may need to add your architecture in clang.
More information about the cfe-dev