Results 1 to 6 of 6
Hi All,
I hope you can help me.
I am installing the quake4SDK on RHEL , it needs gcc-3.3 , but I have gcc 4.1 ..
How can I install ...
- 11-09-2010 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 22
installing alternative (older) gcc version RHEL
Hi All,
I hope you can help me.
I am installing the quake4SDK on RHEL , it needs gcc-3.3 , but I have gcc 4.1 ..
How can I install an alternative gcc3.3, without getting rid of the newest one , and solely to get this program to compile ??? I know there is an "alternative" managing system , but don't know how it works ...
Thanks a lot !
Mahuro
- 11-10-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I don't know about 3.3, but you can install gcc 3.4 (should be backward compatible) on RHEL/CentOS systems. Just use yum to install the packages: yum install 'compat-gcc-34*'
That will get you gcc, c++, and Fortran. If you just want the C and C++ compilers: yum install compat-gcc-34 compat-gcc-34-c++Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-11-2010 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 22
Hi Bubberman,
Many thanks for your suggestion, actually the yum install worked well iin RHEL !! one more thing is :
I need to know where it got installed !! I have used locate, find,whereis ... but all I got is paths to docs.
I need to direct the application I am installing at compilation time like this:
export CC=/opt/gcc-3.4/bin/gcc
But I can not find it !!
The packages I installed are :
compat-gcc-34-c++.x86_64 0:3.4.6-4.1 compat-gcc-34-g77.x86_64 0:3.4.6-4.1 compat-libf2c-34.x86_64 0:3.4.6-4.1
Any suggestions ?
Mant thanks.
- 11-11-2010 #4Just Joined!
- Join Date
- Oct 2008
- Posts
- 22
Hi Rubberman,
This is the error I get as the compiler can not find gcc-3.4: ( as I said it does not know where it is)
g++-3.4 -o build/debug/game/game/Actor.os -c -Wno-invalid-offsetof -fPIC -pipe -Wall -fmessage-length=0 -fvisibility=hidden -m32 -DQ4SDK -g -O1 -D_DEBUG -fno-strict-aliasing -DGAME_DLL game/Actor.cpp
sh: g++-3.4: command not found
- 11-11-2010 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
The compatibility compilers are in /usr/bin, as in /usr/bin/gcc34, etc.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-11-2010 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Anyway, try g++34, not g++3.4
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote