I read about some ways to implement a cross-compilation environment for the Beaglebone. I’m using Debian in a VM and tried these methods:
- installed the arm-linux-gnueabihf toolchain
- chroot method: Installed debootstrap + qemu
Method 1 has the problem of Root filesystem pollution and is only compaitble with Debian distribution. Methods 2 and 3 seemed to work well for me. The best solution in my opinion is method 3, using chroot provides a clean and organized environment, the only issue I found is that I could not use Eclipse + chroot.
So, my question is: which method do you use for cross-compilation? Is it possible to use Eclipse with a external toolchain located in a chroot?
Thanks in advance.