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

2016-12-03 Thread Matthias Klose
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.



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

2016-10-13 Thread Peter Chubb
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)


-- 
Dr Peter Chubb Tel: +61 2 9490 5852  http://ts.data61.csiro.au/
Trustworthy Systems Group   Data61 (formerly NICTA)