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?
On 2020-04-18 13:01, Hiisi wrote:
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?
Well, GCC 4.6 is quite old. Looks as if it last came with F15/F16 in 2011.
If I *really* needed to use that version I would create a Virtual Machine running that older version of Fedora and use it in the VM.
I would not go through the effort of trying to get it working on F31.
On Sat, Apr 18, 2020 at 1:10 AM Ed Greshko ed.greshko@greshko.com wrote:
Well, GCC 4.6 is quite old. Looks as if it last came with F15/F16 in 2011.
If I *really* needed to use that version I would create a Virtual Machine running that older version of Fedora and use it in the VM.
I would not go through the effort of trying to get it working on F31.
--
I need it to compile boost 1.41. Some old project depends on it. Thank you!
On Sat, Apr 18, 2020 at 12:16 AM Hiisi hiisi@fedoraproject.org wrote:
I need it to compile boost 1.41. Some old project depends on it. Thank you!
You could also check CentOS versions...
CentOS 7 has 4.8.5 if that's close enough or CentOS 6 has 4.4.7.
Thanks, Richard
On 4/18/20 6:12 AM, Richard Shaw wrote:
On Sat, Apr 18, 2020 at 12:16 AM Hiisi <hiisi@fedoraproject.org mailto:hiisi@fedoraproject.org> wrote:
I need it to compile boost 1.41. Some old project depends on it. Thank you!
I deleted the original email, so I'm replying to this one. Can't you get an already compiled boost 1.41 from an old Fedora or CentOS version and use that?
On Sat, Apr 18, 2020 at 1:07 PM Samuel Sieb samuel@sieb.net wrote:
I deleted the original email, so I'm replying to this one. Can't you get an already compiled boost 1.41 from an old Fedora or CentOS version and use that? _______________________________________________
Where would I get that? I have downloaded old boost, but it needs to be compiled in order to link it.
On 2020-04-19 10:46, Hiisi wrote:
On Sat, Apr 18, 2020 at 1:07 PM Samuel Sieb samuel@sieb.net wrote:
I deleted the original email, so I'm replying to this one. Can't you get an already compiled boost 1.41 from an old Fedora or CentOS version and use that? _______________________________________________
Where would I get that? I have downloaded old boost, but it needs to be compiled in order to link it.
Old versions of Fedora can be found at https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/ CentOS images are at http://isoredirect.centos.org/centos
On Sat, 18 Apr 2020 at 02:01, Hiisi hiisi@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.