Quote:
Originally Posted by lu9dce
I want to make a txz repository by compiling slackbuild for arm
I have several large PCs and I would like to be able to emulate
or do some cross-compilation since the pi3b+ that I have
is impossible to compile ... very slow
|
You can simply use qemu-user (for arm 32bit, qemu-arm-static; for arm 64bit, qemu-aarch64-static; you can download them from here:
https://bonslack.org/bootstrap/qemu/...0221018.tar.lz and install in "/bin" of your arm root tree), and then make "chroot /where/mounted/root-arm".
Remember to set binfmt before chrooting with the following script:
https://bonslack.org/bootstrap/qemu/qemu-binfmt-conf.sh
This is my preferred method for compiling packages that requires more than 1GB of RAM to build (rust, qt5, mozilla-*, seamonkey, etc.). For the other packages, maybe the speed for native compiling in pi3b+ is quite similar to qemu-user's one, depending obviously how many cores your large PCs have.