[LLVMdev] CROSS COMPILING LLVM
hannibal_08 at mail.com
Sun Jun 14 04:19:11 PDT 2009
I was able to use your scripts to build llvm and llvm-gcc successfully.
But when i try to link to llvm libraries i get the following :
Relocations in generic ELF (EM: 3)
could not read symbols: File in wrong format
----- Original Message -----
From: "Misha Brukman"
To: "LLVM Developers Mailing List"
Subject: Re: [LLVMdev] CROSS COMPILING LLVM
Date: Thu, 11 Jun 2009 22:18:25 -0400
I've committed my scripts that simplify building Linux/x86 ->
Linux/ARM crosstool. There are 2 parts to using this:
creates tarballs for LLVM and LLVM-GCC from HEAD SVN or a specific
revision of your choice
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.
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
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev