You are not logged in.
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)
Thanks.
Last edited by starfry (2012-10-03 19:37:37)
Offline
Take a look at this, maybe it helps you: .config-v7 (taken from here)
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.
EDIT: Hope you have an armv7-target, otherwise you should take a look at .config-v5 or .config-v6 config.
Last edited by D4ve (2012-09-30 11:03:20)
Offline
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)
Offline