Sponsored Content
Full Discussion: gcc upgrade to 4.2
Top Forums UNIX for Dummies Questions & Answers gcc upgrade to 4.2 Post 302148162 by rdns on Friday 30th of November 2007 04:45:43 AM
Old 11-30-2007
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?
 

7 More Discussions You Might Find Interesting

1. Programming

gcc update

Hai Friends How should i update gcc (version 3.2.1) to gcc (version 3.2.2). I am using FreeBSD 5.0 RELEASE Thanks in advance Collins (0 Replies)
Discussion started by: collins
0 Replies

2. Programming

A problem of GCC

Hi mates, I am a new comer of this forums. I have a problem while using function "fread(buffer, size, number, file-pointer)" to read a binary file. While I used the "fread()" to read the binary file under Solaris UNIX System, it worked very well. But it gets a incorrect result... (6 Replies)
Discussion started by: cquedugdylp
6 Replies

3. Programming

gcc installation

hi , iam trying to install gcc compiler on a sun sparc sytem running solaris 9 . i have searched the internet for documentaion on how to install gcc , but the steps are unclear . could anyone help me with a document , because the documentaions i found are really confusing . thank you... (1 Reply)
Discussion started by: itspascal
1 Replies

4. Programming

Gcc

Dear all, Any body please guide, i require a C which will run in Linux environment. Its urgent please. warm regards, Senthil K (1 Reply)
Discussion started by: Senthil
1 Replies

5. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

6. UNIX for Dummies Questions & Answers

GCC installation

I was informed that one should have a strong c programming background in order to do a proper compile of GCC. I am of the opinion that having such a background would be helpful but not entirely necessary. What do you think? (1 Reply)
Discussion started by: mjl927
1 Replies

7. UNIX for Dummies Questions & Answers

Help with gcc and g++

Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
Discussion started by: vishal.973s
5 Replies
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy