Whatever you do will be insignificant, but it is very important that you do it.
- Mahatma Gandhi

Wednesday, August 27, 2008

Installing old GCC Versions on current Linux distributions

Well, today I found out that I've been doing something wrong for quite a while. We have some code at work that was developed on RedHat 7.3 and has always had a hard time compiling on anything newer. There's a large, unsupported library that we depend on that doesn't compile on new compilers either. So, we're stuck with using an old compiler. On RHEL3, gcc 2.95 compiled OK with little tweaking. However, on RHEL4 it does not compile. After talking with a co-worker, and searching on the web, I found some documentation of the command "make bootstrap". This is great because it will bootstrap itself and then build with no problems after that's done. I hope if anybody else is stuck in this situation, this helps a bit.

No comments: