upgrade gcc on fedora core 4

Andrew Haley aph at redhat.com
Fri Sep 10 08:21:07 UTC 2010


On 09/09/2010 07:14 PM, JD wrote:
> 
> 
> On 09/09/2010 11:01 AM, Andrew Haley wrote:
>> On 09/09/2010 02:38 PM, Rossella Noschese wrote:
>>
>>> I've a question. At work we have a fedore core 4 release on a 64-bit
>>> machine. We need now to upgrade the compiler. We have GNU Fortran 95 (GCC
>>> 4.0.0 20050519 (Red Hat 4.0.0-8)). We need at least gcc version 4.1.2
>>> 20071124 (Red Hat 4.1.2-42). I'm not a great shell user, so can you help me?
>> You'll just have to build gcc from source.  While this isn't
>> terribly hard to do, you are going to have to find a great shell
>> user, and someone who understand make/autoconf/etc.
>>
>> Andrew.
> If the new gcc source rpm is available, all the user has to do is:
> 
> sudo yum-builddep gcc-xx.yy.xx.src.rpm

I think trying to build from the current RPM is a really bad idea.  If
it builds and installs it'll replace the system gcc, which you really
don't want.  It makes far more sense to build the gcc source from
gcc.gnu.org.

Andrew.


More information about the users mailing list