Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

upgrade gcc 3.2 to 3.3

Status
Not open for further replies.

12345671

IS-IT--Management
May 24, 2003
106
AU
Redhat9 has gcc3.2. I need to instal one software, but this software requires gcc3.3 or above.

My question is:

1. seems a lot of packages are required to upgrade gcc including cpp-3.3.3-1.i386.rpm, gcc-c++3.3.3-1.i386.rpm, libstdc++3.3.3-1.i386.rpm, gcc-3.3.3-1.i386.rpm, libgcc-3.3.3-1.i386.rpm

I must install all of them? What is the relationship of those? What they are for?

2. If I install those, they will overwrite the all the old version or it is a new installation stored somewhere?



 
The lib-files contain basic and common libraries - collections of often used functions.
the gcc-... is for 'c' source-language, and gcc-c++ for 'c++'.
Yes, you must install all of them.

Overwriting? Not sure, perhaps an option, but what's the default? It should get clear from the page, where you download.
Or is this an option for rpm in general?

seeking a job as java-programmer in Berlin:
 
where can I download those rpm? I didn't find them on ftp.redhat.com/pub/redhat/linux

Anyone can give me an address
 
I try to install some software in Redhat9 and it needs to be built prior installation. To do this it needs the GCC 3.3 or above. That is why I am looking for it.

I mention the following before.

cpp-3.3.3-1.i386.rpm, gcc-c++3.3.3-1.i386.rpm, libstdc++3.3.3-1.i386.rpm, gcc-3.3.3-1.i386.rpm, libgcc-3.3.3-1.i386.rpm

Is that enough? or too much?

I have a look of rpmfind.net, there is also libstdc++ develop 3.3.3-1.i386.rpm,

What is the difference?
 
cpp-... is the C-Pre-Processor.
You definetly need it.
And the other 4 packages.

I guess the -develop- rpm is needed, when you develop extensions/ bugfixes etc. for libstdc++ - which you obviously don't do.

Get the 5 packages - if it isn't enough, you will see it.
It's not too much - as I mentioned before.

seeking a job as java-programmer in Berlin:
 
Two queations:
(1)Difference among i386,i586 and i686. Except the above 5 package *.i386,rpm, I also found some *.i686.rpm package from the rpmfind.net website. What is the difference of them? Which one I should choose?

On my Redhat9CD, the RPMs are i386.rpm. My machine is:
Processor:i686, (obtained by uname -p)
hardware platform:i386 (obtained by uname -i)
Machine name:i686 (obtained by uname -m)

(2)I am installing cpp-3.3.3.1-i386.rpm by
rpm --nodeps -Uvh cpp-3.3.3.1-i386.rpm

It takes so long, more then 25 mins, and has not yest finished. Is it right like this? I darenot stop it.
 
Also is there a sequency to install the above 5 packages? Which one must be first, second...?
 
When I understand it right, an i586-version might be optimized for an i586 prozessor, and will not run on an 486 or below, but should be able to produce code for an i386 as well.

Choose i686 for maximum speed.
I normally go the *.src.tar.bz2 way, not rpm, and may not help in using it.
top can tell you, whether rpm is still running, and using cpu, while the hdd-light should show, whether there is disk-access.

I once builded the whole kde-suite from source, which took more than 24 hours.
There shall be no sequency.

seeking a job as java-programmer in Berlin:
 
I check, the HDD light is not blinking, the rpm is not using cpu, not this command at the top. but the terminal window where I run rpm cpp.i386.rpm is still there, doesn't show finish. no ideal what to do with it.
 
I try to use kill to stop
rpm --nodeps -Uvh cpp-3.3.3-1.i386.rpm
It is not working. Any help?
 
I may find the reason.
I read that other distributor now also use*.rpm, I am not sure all the above *-3.3.3-1.i386.rpm are from Redhat. So I went to the rpmfind.net, download another version, 3.3.3-7.i386.rpm for the 5 package,making sure they are from Redhat.

Then I use command, rpm --nodeps -Uvh *.rpm, it works. Finally, this problem solved.

I can begin new question thread:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top