Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-05-2003, 05:02 PM   #1
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Rep: Reputation: 15
installing GCC


i have compliled and maked the GCC files

i am installing Version 3.3.1 here
downlaoded form

i ran
make bootstrap
make install

i got no erros nor did it stop on any of the config or makes...

i have found its install folder in

when i run gcc -v i get
Reading specs from /usr/lib/gcc-lib/i586-pc-linux/
gcc version 19991024 (release)

how do i correct it to run on new version?

many thanks
Old 10-05-2003, 05:08 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Remove or rename the version that is in your path. To find out where it is:
whereis gcc

Then create a link eg:
ln -s /path/to/new/gcc /usr/bin/gcc
Old 10-05-2003, 05:08 PM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Your old gcc is before the new one in PATH. For short time, something like
export PATH=/usr/local/bin:$PATH
should work. Better idea is to modify the symlinks there are for older gcc (and point them to the new one) or uninstall older gcc (new one should work then).
Old 10-05-2003, 05:38 PM   #4
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Original Poster
Rep: Reputation: 15
Many thanks

did as david_ross said, and its picked it up fine

many thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help on installing GCC. Jonka Linux - Software 2 11-12-2003 05:12 PM
Installing gcc 3.3 Shienarier Linux - Software 6 06-08-2003 12:25 PM
Installing GCC sovietpower Linux - Newbie 1 06-01-2003 06:28 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 06:28 AM
Installing gcc-2.95.3 X11 Linux - Software 2 04-26-2002 10:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration