1

I was looking this post and trying to make in on my Arch Linux x86_64 host, but without success.

I can't chroot inside and I've noticed that Arch doesn't have qemu-arm-static bins, and it looks that they can't be build because Arch doesn't support any static linking.

So did anyone made it working and how?

  • Hello! I did it on Arch linux using and wrote the steps here. – Jivings Apr 2 '13 at 18:07
  • Hi, thanks for answer! I tried that but somehow I get bad performance, almost as same as on raspi itself. I am looking to compile some bigger programs so I need cross compiler. Did you got any good performance with that? – 10robinho Apr 2 '13 at 18:29
  • @10robinho Are you using Arch Linux to compile, or are you compiling for Arch Linux? What is the OS of the computers being used? – xxmbabanexx Apr 2 '13 at 23:57
  • both Arch Linux, one on x86_64 one on raspi – 10robinho Apr 3 '13 at 3:06
  • You don't want to emulate the CPU with QEMU then. You just want a compiler. There's details of how to set that up here. Again my answer is for Arch Linux, but it should be distribution agnostic. – Jivings Apr 3 '13 at 6:45
0

So,

after some time I spent getting my cross-compiling environment ready with Raspberry PI and Arch Linux, I've realized that QEMU is not good solution, for two main reasons:

  1. Static linking is not supported with Arch Linux
  2. It is slow, so there is no much point in cross-compiling in that way

Solution I decided to use is plain cross-compiling, without any emulators. It takes some time to configure and get used to, but it is definitely worth.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.