Building GCC
There’s a nasty bug that plagues GCC 5.1 (the current version of GCC in Fedora 22), which blocks the unit tests for Realm. Instead of going to the very bleeding edge, I’ve decided to compile version 4.9.3 and keep that as a backup to run tests and whatnot. The bug has been fixed and should be part of the GCC 5.3 release, so we’ll just have to be patient until then.
Sometimes, Fedora’s race-to-the-new can bite you a tiny bit.
There are a couple of dependencies needed other than the usual build tools:
It’s fairly simple to build GCC. I wouldn’t expect otherwise, frankly:
&& \
&&
--program-suffix=-4.9.3
&&
The $HOME/bin
directory is already in my PATH
, so I’m just going to create a small symlink that will allow me to call gcc-4.9.3
from anywhere.
Be aware that compiled, GCC does take a fair amount of space:
So yeah, there’s that to keep in mind.