On Sun, Jul 24, 2016 at 02:11:03AM +0900, Chanho Park wrote: > I found an old patches to build arm rpm binary through cross compile[1]. > However, it's quite old and hard to apply them into current version. > Is there any trial to build cross compiling packages for arm? I really don't think it's a good idea. You may be able to make it work for some builds in some situations, but: (a) most builds just aren't set up for cross-building and require considerable work to make them cross-friendly (see the work we had to do for the Fedora mingw project), and (b) you'll be building RPMs in a different way from everyone else, so no one will help you if it goes wrong. Is this for 32 or 64 bit ARM (armv7 or aarch64)? Hardware for both is widely available, and starts off very cheap. Even US$20 will get you something and for $100 you can get something reasonably good for builds. However if you really only have x86-64 hardware available or don't want to spend anything at all, then you can still run ARM virtual machines and build in those. For example here's how to boot up a 64 bit ARM (aarch64) guest on x86-64 host (all these commands are non-root): $ virt-builder --arch aarch64 fedora-24 --root-password password:123456 --size 20G $ virt-install --import --name builder --arch aarch64 --ram 2048 --disk path=fedora-24.img,format=raw --os-variant fedora23 --boot loader=/usr/share/edk2/aarch64/QEMU_EFI.fd,nvram_template=/usr/share/edk2/aarch64/vars-template-pflash.raw You can use all the usual commands (rpmbuild, mock) inside the guest. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html _______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/arm@xxxxxxxxxxxxxxxxxxxxxxx