You are not logged in.

#1 2015-12-10 07:57:31

wtx
Member
Registered: 2014-06-09
Posts: 76

gcc-4.x and gcc-5.x together in the system

Hi,

I needed to have two versions of gcc (gcc4.x and gcc5.x) in my system but I couldn't find the proper PKGBUILD file in AUR.
I've taken one of existing similiar PKGBUILD files from: https://aur.archlinux.org/packages/gcc49-multilib/
but unfortunately it builds gcc with conflicting filenames with gcc-5.
I've modified a little this file and now I'm able to compile whole gcc-4.9 as an alternative gcc in my system - so I've got gcc-5 and gcc-4.

I'd like to share it - maybe someone will find it helpful.
Here is location of this file:
http://pastebin.com/EHHXtNpV

Offline

Board footer

Powered by FluxBB