[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#883853: Please provide binaries/symlinks without version suffix



Control: tags -1 + wontfix help
Control: severity -1 wishlist

On 08.12.2017 11:47, Andre Heider wrote:
> Source: gcc-7-cross
> 
> (this applies to gcc-*-cross, I was unsure where to file it)
> 
> Currently all the binaries of all -cross packages have a version suffix.
> 
> For gcc it looks like this:
> gcc-7-aarch64-linux-gnu: /usr/bin/aarch64-linux-gnu-gcc-7
> gcc-5-aarch64-linux-gnu: /usr/bin/aarch64-linux-gnu-gcc-5
> 
> gcc-aarch64-linux-gnu then provides symlinks to the current default version:
> /usr/bin/aarch64-linux-gnu-gcc -> aarch64-linux-gnu-gcc-7
> 
> Now, most build environments provide a way to set a prefix for the toolchain to
> use. Like the kernel:
> CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- make something
> 
> That works fine for debian's default gcc version, but doesn't when you want to
> use another version. While some build environments allow a way to set a suffix
> too, they generally do not. Setting just a prefix seems like the established way.
> 
> A dedicated directory with binaries/symlinks without version suffix would fix
> this, like:
> CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-5/aarch64-linux-gnu-
> 
> Please consider providing it!

I'm not going to work on that. If you provide patches, please make sure that
these work for native and cross builds.


Reply to: