On Sat, 18 Apr 2020 at 02:01, Hiisi <hi...@fedoraproject.org> wrote:

> Hello, list!
> Back in the day, Fedora had compat-gcc in repos. I can't find it any
> longer. How do I install older versions of GCCC now? Say, I need GCC
> 4.6. What's the best way of getting it on Fedora 31?
>

Are you building from source or do you just need old libraries?    I just
built
some apps for which library source code is not available (the provided
binary libraries needed libgfortran.so.3)).   CentOS 8 has a package with
libgfortran.so.3, but many people use Ubuntu's version, and I have
used the Ubuntu version on Fedora 31, CentOS 8, and debian 10. There
was a period when the Linux Standards Base (LSB) goal of cross-distro
binary compatibility worked pretty well.

Current compilers should compile old sources, but may need some
work to find the right flags.  Legacy fortran code often uses tricks
that hamper compiler attempts to prevent out-of-bounds memory
access.    The R project, which uses many libraries based on
legacy Fortran codes, seems to have found a way around this.

-- 
George N. White III
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to