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

Bug#840694: gcc: /usr/bin/gcc should use /etc/alternatives



Control: tags -1 + wontfix

On 14.10.2016 00:45, Peter Chubb wrote:
> Package: gcc
> Version: 4:6.1.1-1
> Severity: wishlist
> 
> Dear Maintainer,
> 
> I currently have gcc versions 4.7, 5.0 and 6.0 installed.  I'd
> like to be able to switch between them on a regular basis.  The
> simplest way to do this would be to use update-alternatives to
> switch, but currently /usr/bin/gcc and its friends
> are direct symlinks to /usr/bin/gcc-6
> 
> By `friends' I mean cpp, c++, c89 c99 gcc-ar gcc-ranlib gcc-nm etc.
> 
> The same goes for the various cross compilers (arm-linux-gnueabi-gcc etc)

no it should not. different GCC versions can offer different ABI versions, use
the versioned names to select a specific version. "Simple" isn't correct here.


Reply to: