The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-30-2007
rdns rdns is offline
Registered User
 

Join Date: Oct 2007
Posts: 25
gcc upgrade to 4.2

hi!

i've done upgrading my gcc version from 3.4.4 to 4.2 from ports (make && make install)

but when querying gcc --version, it still shows as follows:
Quote:
[user@college ~]$ gcc --version
gcc (GCC) 3.4.4 [FreeBSD] 20050518
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
someone told me that after upgrade i need to use gcc42 command

Quote:
[user@college ~]$ gcc42 --version
gcc42 (GCC) 4.2.0 20060422 (experimental)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
so meaning now I have 2 gcc version installed (3.4.4 and 4.2.0) ?
how do i uninstall the older version?
Reply With Quote
Remove advertisements
!!
Forum Sponsor