Talk:GNU Compiler Collection

From ArchWiki
Jump to navigation Jump to search

Set an old gcc as default

Building with a recent gcc can be a serious pain. Packages gccX and gccX-libs are available in community.

Is it sufficient to redirect gcc, g++ and cpp to gcc-X, g++-X and cpp-X with symlinks ?

-- Louson (talk) 12:44, 14 September 2020 (UTC)

Symlinks are not a good solution. You need to configure your build system to use g++-X instead of g++. -- Lahwaacz (talk) 11:36, 15 September 2020 (UTC)
Ok, I have to find out how to do that (I'm building with yocto), closing Louson (talk) 11:52, 15 September 2020 (UTC)