Re: upgrade gcc on fedora core 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

THIS WILL INSTALL ANY NEEDED DEPENDENCIES THAT GCC NEEDS .
This has the great possibility that many existing packages that would
need to be updated will have such a far reaching dependency chain,
that it would break the current installation.

Assuming all went well, and no conflicts arose,

rpm -ivh gcc-xx.yy.xx.src.rpm

cd ..... SPECS

rpmbuild -v -bb gcc.spec

QED  :)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux