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

Bug#119064: gcc-3.0: doesn't depend on gcc



> All the <foo>-3.0 packages don't depend, recommend or even suggest the
> <foo> packages making it possible (especially on hppa where -3.0 is
> the default compiler) to install just gcc-3.0 and not have a gcc
> symlink which is probably not a good thing?

The 'gcc' package is hardcoded to gcc-2.95 right now.  You can have all
three packages installed, and the symlink doesn't change:

    % ls -lF gcc*
    lrwxrwxrwx    1 root     root            8 Nov  9 13:17 gcc -> gcc-2.95*
    -rwxr-xr-x    1 root     root        71324 Oct  6 20:21 gcc-2.95*
    -rwxr-xr-x    1 root     root        73900 Nov  4 12:29 gcc-3.0*
    -rwxr-xr-x    1 root     root        15656 Nov  4 08:59 gccbug-3.0*
    %

Perhaps gcc-3.0's postinst can do something like "if package 'gcc' is
installed, then update the symlink"?  I'm guessing out my butt here.

Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



Reply to: