2009/10/7 Vojtech Horky <vojta.horky@seznam.cz>:
Hi all, I am seeking advice how to write correct PKGBUILDs for cross-compilers.
The thing I am not sure about is where to install them. Trouble is that even the binary packages use different locations and I haven't found any other source where to get information from (for example, cross-arm-wince-cegcc-binutils uses prefix /opt/cegcc/ while mingw32-gcc uses /usr). So, which location would you recommend/is better?
Some time ago I asked the same question about my AVR toolchain, which is now in [community]. I think the original thread can be interesting to you: http://mailman.archlinux.org/pipermail/aur-general/2008-January/thread.html#...
Another thing - is the correct naming convention 'cross-<arch>-<pkgname>'?
As you see, I just stuck with the '-arch' postfix =) Corrado