Loui Chang wrote:
On Wed 07 Oct 2009 20:13 +0200, Vojtech Horky wrote:
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?
I would prefer opt for this, and keeping the cross compiler files separate from the main system.
I put the cross-compilers I am working on in /usr/lib/<arch>, or even /usr/lib/cross/<arch>. Personally, I think both mingw32 and cegcc file placement are wrong (esp. mingw32) Allan