two different gcc versions found?

This is a discussion on two different gcc versions found? within the C Programming forums, part of the General Programming Boards category; Hi there, I admin this FreeBSD machine and for some reason I am finding there are two different gcc versions ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    16

    two different gcc versions found?

    Hi there,

    I admin this FreeBSD machine and for some reason I am finding there are two different gcc versions on the box. Is there any benefit or need for having the different versions?

    --- snip ---

    pkg_info | grep gcc
    gcc-3.2.3_3 GNU Compiler Collection 3.2.3
    gcc-3.4.6_20060110 GNU Compiler Collection 3.4

    --- snip ---

    cheers

  2. #2
    old man
    Join Date
    Dec 2005
    Posts
    90
    I'd google on this to see what you can find. It's possible the system wants a known version for building packages, while allowing you any version you want for your own development. It's been years since I've used freebsd, and this is just a guess on my part.

  3. #3
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    some applications require features of a specific version, so even though backwards compatability is strived for in gcc, it doesn't always happen.

    or, more simply, an update, security or bugfix, put the newer version on the system
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Finding a word in a string.
    By esbo in forum C Programming
    Replies: 15
    Last Post: 08-28-2006, 08:48 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 01:13 AM
  3. Line Counting
    By 00Sven in forum C Programming
    Replies: 26
    Last Post: 04-02-2006, 09:59 PM
  4. Going out of scope
    By nickname_changed in forum C++ Programming
    Replies: 9
    Last Post: 10-12-2003, 07:27 PM
  5. Replies: 4
    Last Post: 11-14-2001, 10:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21