You are not logged in.
Pages: 1
What's best way of installing other version of gcc compiler on my Arch?
(I don't mean compiling it manually from source)
I use 4.5.1 but during development I sometimes need older version to verify something, I found only gcc34 in AUR, but what could I do if I need 4.x.y?
Can I reuse old Arch package somehow and install it together with current 4.5.1?
Offline
I guess there is always the nuclear option:
Install and update abs,
Copy /var/abs/core/gcc to a working directory
modify PKGBUILD as appropriate.
pacman -U the resultant packages.
Do your development
Put back the current gcc with pacman -S
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Not a good idea... You will loose symbols only in the current gcc and some of your software will stop working.
There are plenty of gcc-4.x PKGBUILDs in the AUR. I maintain a gcc-snapshot one. They show how to install multiple compiler version side by side.
Offline
Pages: 1