Re: upgrade gcc on fedora core 4

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

 




On 09/10/2010 01:21 AM, Andrew Haley wrote:
> 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.
As I said in other replies, IT IS A BAD IDEA, but wanted
to show the OP that when you run yum-builddep, it will
try to install the dependencies before you build, and in
that procesess he/she would see that yum will find other
programs/packages that depend on the existing things
that would be updated, and would show the op these
conflicts.
It is doubtful that it would work anyhow (i.e. install the
build deps), because yum will try to search the existing
Fedora release repos (i.e: FC4) , and not find the deps.

If you build it from gnu tarball, then you will not get the
fixes that go into it from the community before it is used
in a distro. But then, it might give the op what s/he wants.



-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux