Re: [fedora-arm] Cross-compiling, chroot and qemu-user-mode

2014-01-13 Thread DJ Delorie
When I did the armhfp bootstrap, I used a distcc-based hack to run an x86-hosted cc1 cross-compiler in an otherwise emulated arm environment. I can't seem to find online instructions, but the stage1/2 bootstrap builds a suitable compiler and support scripts for you. __

Re: [fedora-arm] Cross-compiling, chroot and qemu-user-mode

2014-01-13 Thread Richard W.M. Jones
On Fri, Jan 10, 2014 at 05:23:35PM +, Gordan Bobic wrote: > That means effectively what the > Debian guide above does, but with an extra > twist - I want gcc-* packages to be native > rather than emulated for extra compile speed. In > other words, I want /usr/bin/gcc to be a native > binary pro

Re: [fedora-arm] Cross-compiling, chroot and qemu-user-mode

2014-01-13 Thread Richard W.M. Jones
This is the chroot-based set up I'm using for AArch64 on a Fedora 20 (x86-64) host: http://rwmj.wordpress.com/2013/12/22/how-to-run-aarch64-binaries-on-an-x86-64-host-using-qemu-userspace-emulation/#content It wouldn't be too hard to modify this for ARM 32 bit, but TBH my ODROID-XU is as fast as

[fedora-arm] Cross-compiling, chroot and qemu-user-mode

2014-01-10 Thread Gordan Bobic
I'm trying to find some docs on this, and although this method seems to be reasonably well documented and supported on Debian based distributions, I'm largely drawing a blank for Fedora-like distros. To get the gist of it, a brief crash-course for Debian is here: https://wiki.debian.org/QemuUser