Latest LQ Deal: Linux Power User Bundle
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 02-08-2006, 03:48 PM   #1
Registered: Sep 2003
Posts: 40

Rep: Reputation: 15
installing gcc


this might be the noobiest of all questions, but still I really need help

I need a certain version of gcc : gcc 3.2.2

i looked at the install instructions

first it said to do

mkdir dstdir
cd dstdir
srcdir/configure [options] [target]

my dstdir is /home/gccinst
my srcdir is /home/gcc-3.2.2

should it be like this?

mkdir /home/gccinst
cd /home/gccinst

what do i write in the options and target??

I have a regular pentium 4 on suse10

please help me, give give details on how to do the make bootstrap after and continue installation

thank you very much in advance

Old 02-09-2006, 12:12 AM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
hi first gcc 3.2.3 was a bug fixed version of 3.2.2 with no new features of its own so you should at least use that.

i personally would go with 3.3.6 (it will do what you want only better)
it is the most fixed version from that series before 3.4 when compatability was broken. 3.2.X are very early in the series and not used alot now.
3.2.3 had some mmap problems and unfortunately i can't find the patches anywhere on the net (once the newer compiler superseeds the older one no one seems to keep the patches around)
i would use these instructions
these instructions hold good for earlier versions of gcc3 as well
patches for earlier versions are here
don't use the specs patches they are LFS specific for a certain stage in the LFS build and not for general use.

all the commands assume you untar and cd into the top level of the package directory to start and leave the patches outside the top level directory.
Old 02-09-2006, 01:20 AM   #3
Registered: Sep 2003
Posts: 40

Original Poster
Rep: Reputation: 15
so all i need to do is download 3.3.6 and copy paste what is written in the website?

thanks again
Old 02-09-2006, 09:43 AM   #4
Registered: Sep 2003
Posts: 40

Original Poster
Rep: Reputation: 15
uninstalling old gcc

Hi again,

I did everything that it said on the links and it went almost smoothly

however, my old gcc (2.95) still exists
I see so when I do gcc -v to see the version

is there a way to uninstall it and then I will reinstall the new gcc so the new gcc will be active?

thanks again


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
help with installing gcc Geminias Linux - Newbie 3 01-05-2006 12:39 AM
Installing GCC Geminias Linux - Newbie 6 01-03-2006 06:34 PM
Help Installing GCC 4.0.1 ctkroeker Linux - Software 1 08-23-2005 07:03 PM
installing GCC ganninu Debian 1 11-08-2003 04:31 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 06:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration