Do I need both gcc-4.2 and gcc-4.3?
mexas at bristol.ac.uk
Wed May 6 12:00:04 UTC 2009
On Wed, May 06, 2009 at 12:51:16PM +0100, Mike Clarke wrote:
> Somehow I've ended up with 2 copies of gcc from ports in addition to
> gcc-3.4 in the base system.
> pkg_info suggests that only gcc-4.3 is needed:
> curlew:/home/mike% pkg_info -Rx gcc-4
> Information for gcc-4.2.5_20081126:
> Information for gcc-4.3.4_20090419:
> Required by:
> I'm sure I haven't chosen to install fftw-2.1.5_5, and pkg_info -R
> doesn't show any other ports needing it. I was wondering if I could
> safely deinstall fftw and both the gcc-4 packages but wondered if
> pkg_info only shows the run dependencies and not the build
> dependencies. I don't mind the disk space needed but portupgrade
> sometimes results in having to upgrade 2 copies of gcc which is quite
> time consuming.
short answer - do as you wish. Any software you don't need you can
safely remove provided it is not required by some other packages.
Yes, only run dependencies are shown, therefore, from time to
time I remove some packages which I don't need, and which were built
only to build others, which I do need. HOwever, this is probably
a waste of time, because it is likely that they would be build
again at some point, when the other packages are updated.
Also, I'm fairy certain, though check yourself, that all packages
which require 4.2.5 would be also happy with higher version, i.e.
I'd just leave the highest version of gcc.
Room 2.6, Queen's Building
Mech Eng Dept
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233
Fax: +44 (0)117 929 4423
More information about the freebsd-questions