Find the answer to your Linux question:
Results 1 to 3 of 3
Is it normal to have this many gcc's at once? Package Installed Previous Now State gcc 4:4.0.2-2 4:4.0.2-2 4:4.0.2-2 install gcc-3.3 1:3.3.6-13 1:3.3.6-13 1:3.3.6-13 install gcc-3.3-base 1:3.3.6-13 1:3.3.6-13 1:3.3.6-13 install ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Dover, DE
    Posts
    112

    Why do I have multiple versions of gcc?

    Is it normal to have this many gcc's at once?
    Package Installed Previous Now State
    gcc 4:4.0.2-2 4:4.0.2-2 4:4.0.2-2 install
    gcc-3.3 1:3.3.6-13 1:3.3.6-13 1:3.3.6-13 install
    gcc-3.3-base 1:3.3.6-13 1:3.3.6-13 1:3.3.6-13 install
    gcc-4.0 4.0.3-1 4.0.3-1 4.0.3-1 install
    gcc-4.0-base 4.0.3-1 4.0.3-1 4.0.3-1 install
    gcc-4.1-base 4.1.0-1+b1 4.1.0-1+b1 4.1.0-1+b1 install

    g++ 4:4.0.2-2 4:4.0.2-2 4:4.0.2-2 install
    g++-4.0 4.0.3-1 4.0.3-1 4.0.3-1 install
    The last line of gcc -v: gcc version 4.0.3 (Debian 4.0.3-1)

  2. #2
    Just Joined! the ex's Avatar
    Join Date
    Nov 2005
    Location
    oregon
    Posts
    41
    yeah, when compiling a package it must be compiled with the same version it was originally. so brand new packages are likely to use the newest gcc, packages that were developed under gcc 3.x cant compile on gcc 4.x

  3. #3
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    I think you don't need more than two--the one that was used to build your kernel for when you need to compile kernel modules, and the latest one for everything else.
    Stand up and be counted as a Linux user!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •