Fedora23 install Cpp older version compiler
Hello,
i would like to ask how can one have more versions of the same compiler installed in fedora 23. F23 uses the latest 5.x.x version:
g++ --version
gives the answer: g++ (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2). But for my work i need the older version 4.9.x. Because i am using and also editing piece of software which definitely runs with 4.9.x. RPMs could be downloaded from 'koji' that's not the problem. Let's say i would like to install all these rpm to my home folder
PATH="~/.CPP-4.9.2/"
But if i type:
sudo rpm -i --prefix="$PATH" ~/Downloads/cpp-4.9.2-5.fc22.x86_64.rpm
The answer is simple: The package cpp is not movable
I would really appreciate some helpful thoughts or any possible solution (no the one with downgrading current compilller)
Michal