Try DigitalOcean free for up to two months!

Cross-compiling Library

Discussion in 'General Computing' started by DevynCJohnson, Apr 13, 2014.

  1. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    May 21, 2013
    Likes Received:
    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?
  2. MikeyD

    MikeyD Active Member

    Jul 23, 2013
    Likes Received:
    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).

    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 :)
    DevynCJohnson likes this.

Share This Page