Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to downgrade gcc (from v 8 to v 7)

I'm running gcc version 8 and I want to downgrade it to version 7 (because I want to try to compile kernel with gcc 7 to see if it still compile-errors!).
How to do that? I'm assuming that I have to use dnf. I'm on Fedora 28 (sort of)

$ gcc --version
gcc (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.