Bug#652856: g++-4.6: g++-4.5/4.6 does not call update-alternatives for a "g++" link
Package: g++-4.6
Version: 4.6.2-7
Severity: normal
Installation of both or either g++-4.5/4.6 will not provide a direct
link to "g++". The command is called g++-4.X, which won't be
auto-detected by programs like configure. The packages should use
update-alternatives, just like gcc already does.
Kernel: Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages g++-4.6 depends on:
ii gcc-4.6 4.6.2-7
ii gcc-4.6-base 4.6.2-7
ii libc6 2.13-21
ii libgmp10 2:5.0.2+dfsg-2
ii libmpc2 0.9-4
ii libmpfr4 3.1.0-3
ii libstdc++6-4.6-dev 4.6.2-7
ii zlib1g 1:1.2.3.4.dfsg-3
g++-4.6 recommends no packages.
Versions of packages g++-4.6 suggests:
ii g++-4.6-multilib 4.6.2-7
ii gcc-4.6-doc <none>
ii libstdc++6-4.6-dbg 4.6.2-7
-- no debconf information
--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111221035219.17376.16444.reportbug@ks301015.puls edmedia.com">http://lists.debian.org/20111221035219.17376.16444.reportbug@ks301015.puls edmedia.com
12-21-2011, 05:10 PM
Apparat8 Apparat8
Bug#652856: g++-4.6: g++-4.5/4.6 does not call update-alternatives for a "g++" link
Matthias Klose <doko@debian.org> wrote:
> On 12/21/2011 04:52 AM, Brendan Byrd wrote:
> > Package: g++-4.6
> > Version: 4.6.2-7
> > Severity: normal
> >
> > Installation of both or either g++-4.5/4.6 will not provide a direct
> > link to "g++". The command is called g++-4.X, which won't be
> > auto-detected by programs like configure. The packages should use
> > update-alternatives, just like gcc already does.
>
> gcc/g++ do not use alternatives, and never will. Install g++ or build-essential
For the record, gcc does in fact have a update-alternatives link:
# update-alternatives --display cc
cc - auto mode
* link currently points to /usr/bin/gcc
/usr/bin/gcc - priority 20
Current 'best' version is '/usr/bin/gcc'.
This is so that configure will work properly if it's searching for
'cc'. Also, I finally found the g++ package, hidden in the "Not Found
Packages" vs. "New Packages". Must have been when I updated
preferences and pins.
Any idea why there's a separate g++ package? All this provides is a
separate g++, which could easily be a linkage to one of the versions.
--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAAu7T162whANx4guoFE5dacUAAtXHgjvMT=FLDfrR8PtKwrtg Q@mail.gmail.com">http://lists.debian.org/CAAu7T162whANx4guoFE5dacUAAtXHgjvMT=FLDfrR8PtKwrtg Q@mail.gmail.com