[aur-general] Cross-compilers naming scheme

Allan McRae allan at archlinux.org
Sat Dec 17 10:51:34 EST 2011


On 18/12/11 01:29, Bartłomiej Piotrowski wrote:
> If someone hasn't spot it yet, we have mess with naming of
> cross-compilers in [community]. Currently there are 3 schemes:
>   1) $appname-$platform (gcc-avr and binutils-avr)
>      The only problem I see is mingw32 (and related packages). While
> {gcc,binutils}-mingw32 looks fine, I don't know what to do with
> mingw32-pthreads, mingw32-runtime and mingw32-w32api.
>   2) $platform-$appname (mingw32 packages)
>      My favorite. Seems to be most readable (IMHO) and can be easily
> applied to every cross-compiler.
>   3) cross-$platform-$appname
>      Probably as good as second option, but cross prefix is annoying me.
> 
> I've already discussed it with Alexander Rødseth, but Arch isn't a
> project for a few people. What do you think? Which option is the best one?
> 


I always use something like:

_target=i686-pc-mingw32
pkgname=cross-${_target}-gcc

in all the cross compilers I package.

Allan



More information about the aur-general mailing list