Good evening all, Hopefully I have the right sub-forum
I would like to make some packages with makepkg for arm but I would like to cross compile them on my i7. I already have a cross compiler toolchain (arm-linux-gnueabi-gcc) tested and working fine. I am just unclear on how to configre /etc/makepkg.conf for this purpose.
I've read the wiki page for makepkg but can't find anything about this. I presume I need to modify the "ARCHITECTURE, COMPILE FLAGS" block in /etc/makepkg.conf but I am not sure how.
If anyone could point me in the right direction, it'd be much appreciated
(I am not using distcc)
Last edited by starfry (2012-10-03 19:37:37)
You can use the target-options like CT_ARCH_ARCH="armv7-a" and CT_ARCH_FPU="vfpv3-d16" for your makepkg.conf
Also take a look into the gentoo wiki, they often provide perfect configurations for things like that.
Last edited by D4ve (2012-09-30 11:03:20)
thanks for that, will take a look today
Just thought I'd post an update. I realised that trying to run makepkg in a cross compile fashion is probably futile due to the lack of installed package dependencies on the compile host. I decided to learn about distcc, got it working very quickly and that does the job for me
Last edited by starfry (2012-10-03 19:38:45)