upgrade gcc on fedora core 4

Jerry Feldman gaf at blu.org
Thu Sep 9 14:33:46 UTC 2010


On 09/09/2010 09:58 AM, Richard Shaw wrote:
> On Thu, Sep 9, 2010 at 8:38 AM, Rossella Noschese
> <noschese.rossella at gmail.com> wrote:
>   
>> Hello,
>> 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?
>> How do I get this upgrade?
>>     
> Other will be able to explain why in much more detail, but the short
> answer is, you don't. That's not to say it isn't technically possible
> but you'll probably have to compile from source to even have a chance,
> and I'm assuming there will be other dependencies that will have to be
> upgraded as well.
>
> End of Life (EOL) for Fedora Core 4 was announced on 8/7/2006 and the
> current release is 13. For work environments I would highly recommend
> moving to a long life distribution such as RHEL (pay supported) or
> CentOS (free but community/self supported) or another distribution.
>
>   
While I agree with Richard that Fedora Core 4 is way out of date. My
company uses GCC that is installed in a separate directory from the gcc
installed on the OS.  It is not only possible to have several different
versions of GCC installed, it is frequently done. I do not recommend
installing GCC on an OS where that version of GCC is not supported as it
can cause some things to fail, so my recommendation here is if you want
to continue to use Fedora Core 4, that you download and install GCC in
an entirely separate directory. In our case we use something like:
/mnt/tools/gcc/os we built it for/....
When we compile we must use the -I parameter. In our case we do not use
any header file or library installed on the system except for those that
are absolutely necessary, such as libc.

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100909/3718513e/attachment.bin 


More information about the users mailing list