Cross-compiling Library

D

DevynCJohnson

Guest
I am familiar with cross-compiling, but I am having issues with ARMv6 (soft-float) cross-compiling. The issue is I am needing many ARM libraries (example - libbz2.a). For now, I have been downloading each one and manually placing them in /lib/arm-linux-gnueabi/. However, I want to install a complete library set from a repository, but when I do (by adding an ARM repo), the ARM libraries conflict with my normal AMD64 libraries. Any ideas?
 


I can't say I've done much cross-compiling on a single system, but I did run across this Go cross-compilation tool (the example he uses actually shows compiling linux/arm on a darwin/amd64 arch).

http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go

Although I've never used it / heard of it so use at your own risk, but it may be worth checking out or at least a jumping off point to find similar programs that can do this for you. You obviously won't be able to run the compiled progs on your amd64 architecture, but you can at least compile them :)
 

Members online


Latest posts

Top