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

Bug#101731: GCC series of packages should properly use the Debian alternatives system



Package: gcc-3.0
Version: 1:3.0-1
Severity: minor

The gcc series of packages (gcc-2.95, gcc-3.0, g++-*, etc.) should use the Debian
alternatives properly.
Right now this is the situation:

wturkal@braindead:/usr/bin$ ls -l gcc*
lrwxrwxrwx    1 root     root            8 May 28 15:56 gcc -> gcc-2.95
-rwxr-xr-x    1 root     root        70332 Jun  4 12:43 gcc-2.95
-rwxr-xr-x    1 root     root        75004 Jun 18 17:01 gcc-3.0
-rwxr-xr-x    1 root     root        15660 Jun 18 13:26 gccbug-3.0
wturkal@braindead:/usr/bin$ cd /etc/alternatives/
wturkal@braindead:/etc/alternatives$ ls -l cc*
lrwxrwxrwx    1 root     root           12 May 28 16:07 cc -> /usr/bin/gcc
lrwxrwxrwx    1 root     root           28 May 28 16:07 cc.1.gz -> /usr/share/man/man1/gcc.1.gz
wturkal@braindead:/etc/alternatives$

It should look like this I believe:

wturkal@braindead:/usr/bin$ ls -l gcc*
lrwxrwxrwx    1 root     root            8 May 28 15:56 gcc -> /etc/alternatives/cc
                                                                         ^^^^^^^
						    now points to alternatives in etc
						    
-rwxr-xr-x    1 root     root        70332 Jun  4 12:43 gcc-2.95
-rwxr-xr-x    1 root     root        75004 Jun 18 17:01 gcc-3.0
-rwxr-xr-x    1 root     root        15660 Jun 18 13:26 gccbug-3.0
wturkal@braindead:/usr/bin$ cd /etc/alternatives/
wturkal@braindead:/etc/alternatives$ ls -l cc*
lrwxrwxrwx    1 root     root           12 May 28 16:07 cc -> /usr/bin/gcc-2.95
                                                                  ^^^^^^^
						properly selecting an actual compiler

lrwxrwxrwx    1 root     root           28 May 28 16:07 cc.1.gz -> /usr/share/man/man1/gcc.1.gz
wturkal@braindead:/etc/alternatives$

The same stuff is going on in the other gcc packages.

Would the maintainer please tell me how to easily file this bug report to the other gcc related
packages if and when he replies?

--Warren

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux braindead 2.4.5wacom #1 Tue Jun 12 22:09:15 EDT 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.0 depends on:
ii  binutils                   2.11.90.0.7-2 The GNU assembler, linker and bina
ii  cpp-3.0                    1:3.0-1       The GNU C preprocessor.           
ii  gcc-3.0-base               1:3.0-1       The GNU compiler collection (base 
ii  libc6                      2.2.3-6       GNU C Library: Shared libraries an
ii  libgcc1                    1:3.0-1       GCC support library.              




Reply to: