The gcc package contains the GNU Compiler Collection version 4.9 (compatibility)
This gcc version is compatible with Fedora >=23
2) dnf -y copr enable davidva/gcc49
3) dnf install gcc49
How to install in Fedora >=24?
2) rpm --import https://copr-be.cloud.fedoraproject.org/results/davidva/gcc49/pubkey.gpg
3) wget -P /etc/yum.repos.d/ https://raw.githubusercontent.com/kuboosoft/spec-testing/master/REPOSITORY/_copr_davidva-gcc49.repo
4) dnf install gcc49
How to use?
*You can change the environment variables as follows adding
to your .spec file or current environment
Why Fedora >=24 isn't has a specific repository? well, I don't have time to apply patches and build old gcc versions with a premature gcc 6. The solution; I made a rpm without specific "release"; and the Copr for fc23 works fine for Fedora >=24.
gcc49 won't replace the current gcc, because I modified the paths and others changes for your correct operation.
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
* Total number of packages downloaded in the last seven days.