[LLVMdev] CROSS COMPILING LLVM
Evan Cheng
evan.cheng at apple.com
Fri Jun 12 10:07:02 PDT 2009
On Jun 11, 2009, at 7:18 PM, Misha Brukman wrote:
> I've committed my scripts that simplify building Linux/x86 -> Linux/
> ARM crosstool. There are 2 parts to using this:
>
> * llvm/utils/crosstool/create-snapshots.sh
> creates tarballs for LLVM and LLVM-GCC from HEAD SVN or a specific
> revision of your choice
> * llvm/utils/crosstool/ARM/build-install-linux.sh
> builds and installs a Linux/x86 -> Linux/ARM crosstool using the
> snapshots generated by the above script. It also uses the
> CodeSourcery GCC-based cross toolchain to avoid having to rebuild
> cross-binutils and glibc, but if you don't have it, it'll tell you
> where to download it from.
Just a note. CodeSourcery gcc tools is GPLv3. I think referencing the
tools in a script is fine (except for those of us who are not allowed
to even use them). But please never bring them into the llvm tree.
Thanks,
Evan
>
>
> Note that HEAD revision of SVN doesn't work for me, but I listed the
> latest one I've tried that does, which is 70786.
> Let me know if this approach works for you.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list