I would imagine you know about the gcc34 packages that ship with FC2. These may give you some idea on how to go about configuring GCC with a differrent name and to keep everything managed under RPM.
I've been itching to do an upgrade my self, more for the better C++ and java support than anything else. I just haven't figured out the best way to go about it yet. A local build is always possible, but I generally like to keep my systems managed by RPM as much as possible.
Another option would be to move to FC3-beta (2.90). You will have to get comment from others on how stable it is. It does have the compiler version you are looking for. I do wonder if the FC3 rpm's, both the compatability and the 3.4.1 series, would work on a FC2 system. Just a little nervous about trying that one. ;)
Dave
Hi,
I am working on developing scientific flow simulation codes in C (number crunching). I would like to try whether gcc-3.4.1 generates significantly better code than gcc-3.3.3 in FC2. (In release notes of gcc-3.4.1 a lot of improvement in optimization is issued.)
How can I install gcc-3.4.1 on FC2 so that original gcc remain untouched? (As I know, replacing gcc with a newer version can arise problems. Or is it false?) I want to use gcc-3.4.1 for compiling my own C codes only.
Thank you in advance,
András