On Wed, Jun 14, 2017 at 3:36 PM, Derek Atkins warlord@mit.edu wrote:
Hi,
I'm looking at building some packages for Fedora ARM. Is there any way I can use mock on my x86_64 system to cross-compile a package for ARM? I'm on Fedora 25, but I'm not seeing any cross-compiler options in mock. If I set arch or target I still get an error that x86_64 is not a valid platform to build for arm.
A good search seems to show some work done back in 2010 for Fedora 10, but that's 7-year-old code which I suspect wont work with modern stuff.
So what's the best way (short of building the packages on my poor low-powered ARM system) to get some packages built. E.g. python-crcmod.
mock doesn't support cross compiling. The only thing you can really cross compile is self contained things like the kernel/u-boot and similar stuff.