[aur-general] Conventions on packages for cross-compiling

Allan McRae allan at archlinux.org
Wed Oct 7 19:29:32 EDT 2009


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


More information about the aur-general mailing list