Results 1 to 2 of 2
Hello,
Can someone explain how to upgrade gcc on Red Hat 7.2? I need to compile some drivers/modules (have a script) but the read me says I have to compile ...
- 02-11-2011 #1Just Joined!
- Join Date
- Feb 2011
- Location
- Inside the 495 loop...
- Posts
- 5
Upgrade GCC 2.96 to 3.3?
Hello,
Can someone explain how to upgrade gcc on Red Hat 7.2? I need to compile some drivers/modules (have a script) but the read me says I have to compile using gcc 3.3. I have the rpm package downloaded. I ran the following command:
There was a scroll bar that counted to 100% and then just returned me to the command prompt. I tried some tricks I found searching google to figure out where the package went, but no luck.Code:rpm -ivh gcc3.3.2-1.src.rpm
I'm afraid to screw this up, since it is a VM and I'm only using VMware player (no snapshots). I don't want to have to rebuild.
Thanks!
- 02-11-2011 #2Just Joined!
- Join Date
- Feb 2011
- Location
- Inside the 495 loop...
- Posts
- 5
Update,
I've been fumbling through this, but I made some progress (I think haha) I found that after I did the rpm -ivh the package was put in the /usr/src/source directory.
I untared the files and I found some directions in the config directory. They were in html pages...
The instructions were pretty simple. Basically I had to make a new directory not in the path of the source files. So I did:
cd /tmp
mkdir objdir
cd objdir
<path to source directory>/configure
That fired off some scripts that ran for about 10 minutes. After that the instruction said to issue a "make bootstrap" command.
This thing has been running for about 30 minutes. Hopefully it works after its done.
Any comments on this?


Reply With Quote