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

Bug#115353: gcc: cc & gcc should use update-alternatives mechanism



tags 115353 + wontfix
merge 115353 112887
thanks

marko writes:
> Package: gcc
> Version: 2:2.95.4-6
> Severity: wishlist
> 
> As in subject: I think that cc and gcc should be provided
> through update-alternatives mechanism, so user could
> switch between gcc272, gcc-2.95 and gcc-3.0 more easily.
> 
> Eg. use gcc-3.0 for cc but gcc-2.95 for gcc or whatever...

gcc-3.0 doesn't use alternatives to make sure that the preferred
system compiler is used when calling 'gcc'. If you want to test
gcc-3.0 for a particular package,

- use CC=gcc-3.0 CXX=g++-3.0 when configuring/compiling a package

- make ~<user>/bin/gcc a symlink to gcc-3.0 and add it to your path





Reply to: