Results 1 to 5 of 5
Hello All,
To run applications compiled for RedHat 4 Enterprise (gcc3.4) on RedHat 5 Enterprise (gcc4.1), what should I do?
Thank you, your help is very much appreciated....
- 04-28-2010 #1Just Joined!
- Join Date
- Mar 2006
- Posts
- 25
To run Redhat Enterprise 5 in Redhat 4 Enterprise compatibility mode.
Hello All,
To run applications compiled for RedHat 4 Enterprise (gcc3.4) on RedHat 5 Enterprise (gcc4.1), what should I do?
Thank you, your help is very much appreciated.
- 04-28-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
First, install gcc 3.4 from the repositories with Yum. The package names are:
compat-gcc-34
compat-gcc-34-c++
compat-gcc-34-g77 (if you need fortran)
compat-libgcc-296 (if you have any applications compiled w/ gcc 2.9)
As indicated, these are the compatibility compilers and include the appropriate libraries. There may be other requirements, but this should at least get you going to the point where you can test your applications.
FYI, you can have any number of version of the gcc compiler suites installed on your system at the same time. Currently I have 3.4, 4.1, and 4.4 installed. You can tell gcc which version to use - there is a compiler flag (-V version) for that so you can specify at build time which version of the compiler to use. See the gcc man page for more information.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-28-2010 #3Just Joined!
- Join Date
- Mar 2006
- Posts
- 25
Hello Rubberman, thank you very much. I will try to install those and will let you know how it goes.
- 05-01-2010 #4Just Joined!
- Join Date
- Mar 2006
- Posts
- 25
- 05-01-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
Glad to hear it. You might want to mark this problem/thread as "Solved" so it can be closed by the moderators.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
