You are not logged in.

#1 2014-04-12 04:36:06

93i
Member
Registered: 2014-02-24
Posts: 8

Multiple gcc versions possible?

Hi there,

i have the problem that for a project i work on i need gcc 4.8, which is there on arch, yay, but for some other project, i need gcc 4.7, because it is a closed source game engine that comes with c++ headers that fail to compile on gcc 4.8.

Is there anything like update-alternatives on debian for arch, to install multiple gcc versions and then switch between them?

Thanks

Offline

#2 2014-04-12 05:36:10

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: Multiple gcc versions possible?

Multiple version «are not supported» by arch (yesss... look libpng12 for example is on repos....)

BUT, you can install aur/gcc47 from AUR I thing that can help, but you need to set you gcc variables to point that gcc 47 and they path install


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#3 2014-04-12 15:04:22

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Multiple gcc versions possible?

You should contact the author of that closed source game engine and get them to update their code so that it works with gcc 4.8 and 4.9


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2014-04-14 14:51:42

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Multiple gcc versions possible?

The Haiku operating system has two versions of GCC installed, one is version 2 and one version 4, so it is possible. There's a script (or something) that is used to switch between the two environments.

Mr.Elendig wrote:

You should contact the author of that closed source game engine and get them to update their code so that it works with gcc 4.8 and 4.9

Especially if it's something you paid for. hmm

Offline

Board footer

Powered by FluxBB