This shows you the differences between two versions of the page.
linux:fedora_compatibility_settings [2015/12/07 12:09] – created - external edit 127.0.0.1 | linux:fedora_compatibility_settings [2022/12/07 15:38] (current) – [Gcc 3.4] jansen | ||
---|---|---|---|
Line 5: | Line 5: | ||
Fedora moves fast, and the latest versions of things are not always compatible with previous versions. It is difficult enough to keep your own programs up to date, but sometimes you need to use a piece of software which doesn' | Fedora moves fast, and the latest versions of things are not always compatible with previous versions. It is difficult enough to keep your own programs up to date, but sometimes you need to use a piece of software which doesn' | ||
- | ==== Gcc 3.4 ==== | + | ==== GCC ==== |
- | The default compiler is now GCC 5.1 (4.9 in Fedora 21). However, | + | The default compiler is now GCC 12.2. However, |
However, those packages will not be maintained forever, so it may be time to figure out why you or your code thinks these older versions are needed. Besides, it will not be possible to link code compiled with gcc34 to libraries compiled with gcc 4.x, so if your program requires external libraries, you should use the current compiler version. | However, those packages will not be maintained forever, so it may be time to figure out why you or your code thinks these older versions are needed. Besides, it will not be possible to link code compiled with gcc34 to libraries compiled with gcc 4.x, so if your program requires external libraries, you should use the current compiler version. | ||
If you want the old compiler to use g77 (Fortran 77) instead of gfortran (Fortran 90/95), you may be better off using gfortran, with some compatibility options, if required. Mostly, use '' | If you want the old compiler to use g77 (Fortran 77) instead of gfortran (Fortran 90/95), you may be better off using gfortran, with some compatibility options, if required. Mostly, use '' | ||
- | |||
- | Various other versions of GCC are also available using environment modules. See '' | ||
- | |||
==== Glibc problem detection ==== | ==== Glibc problem detection ==== |