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

Bug#148015: marked as done (gcc-3.0: Use 'update-alternatives' to set default compiler)



Your message dated Tue, 29 Jul 2003 22:25:26 +0200
with message-id <16166.55350.626818.320744@gargle.gargle.HOWL>
and subject line Bug#119952: should bug #119952 be closed?
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at maintonly) by bugs.debian.org; 24 May 2002 11:51:13 +0000
>From afu@pro18.it.dtu.dk Fri May 24 06:51:11 2002
Return-path: <afu@pro18.it.dtu.dk>
Received: from pro18.it.dtu.dk [130.225.76.218] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17BDb9-0005wa-00; Fri, 24 May 2002 06:51:08 -0500
Received: by pro18.it.dtu.dk (Postfix, from userid 1000)
	id 134108047; Fri, 24 May 2002 13:50:32 +0200 (CEST)
From: Anders Fugmann <afu@pro18.it.dtu.dk>
To: Debian Bug Tracking System <maintonly@bugs.debian.org>
Subject: gcc-3.0: Use 'update-alternatives' to set default compiler
X-Mailer: reportbug 1.50
Date: Fri, 24 May 2002 13:50:32 +0200
Message-Id: <20020524115032.134108047@pro18.it.dtu.dk>
Delivered-To: maintonly@bugs.debian.org

Package: gcc-3.0
Version: 1:3.0.4-9
Severity: wishlist

gcc-3.0 and gcc-3.1 install gcc-3.0 and gcc-3.1 in /usr/bin, while 
gcc (ver 2.95) install /usr/bin/gcc. It would be more streamlined 
to use /etc/alternatives to point to one of the compilers.
The same applies for manpages and other compilers and utilities.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux pro18 2.4.18 #238 SMP Wed May 15 12:09:39 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.0 depends on:
ii  binutils                   2.12.90.0.7-1 The GNU assembler, linker and bina
ii  cpp-3.0                    1:3.0.4-9     The GNU C preprocessor.
ii  gcc-3.0-base               1:3.0.4-9     The GNU Compiler Collection (base 
ii  libc6                      2.2.5-6       GNU C Library: Shared libraries an
ii  libgcc1                    1:3.1-2       GCC support library.


---------------------------------------
Received: (at 119952-done) by bugs.debian.org; 29 Jul 2003 20:26:38 +0000
>From doko@cs.tu-berlin.de Tue Jul 29 15:26:35 2003
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19hb3K-0005ZC-00; Tue, 29 Jul 2003 15:26:35 -0500
Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1])
	by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id WAA17686;
	Tue, 29 Jul 2003 22:25:26 +0200 (MET DST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id h6TKPQn21928;
	Tue, 29 Jul 2003 22:25:26 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16166.55350.626818.320744@gargle.gargle.HOWL>
Date: Tue, 29 Jul 2003 22:25:26 +0200
To: Jochen Voss <jvoss2@web.de>, 119952-done@bugs.debian.org
Subject: Re: Bug#119952: should bug #119952 be closed?
In-Reply-To: <[🔎] 20030727170430.GA1181@localhost>
References: <[🔎] 20030727170430.GA1181@localhost>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: 119952-done@bugs.debian.org
X-Spam-Status: No, hits=-14.5 required=4.0
	tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_VM
	autolearn=ham version=2.53-bugs.debian.org_2003_07_20
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp)

Jochen Voss writes:
> Hello,
> 
> I suggest to simply close bug #119952 and friends.  It is tagged
> wontfix and you won't get many new copies, because gcc-3.0 becomes out
> of fashion, now.

fine with me. for the record here the explanation:

gcc-x.y doesn't use alternatives to make sure that the preferred
system compiler is used when calling 'gcc'. switching the compiler
may break your system (will break for C++). In most gcc-x.y versions
ABI's are different.

If you want to test gcc-x.y for a particular package,

- use CC=gcc-x.y CXX=g++-x.y when configuring/compiling a package

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

- if you know what you do, there is the option to divert the gcc/g++
  links.

closing the reports, adding to our karma.



Reply to: