You are not logged in.
Pages: 1
So, today I upgraded all my package and it seems that g++&gcc are now version 7.1.1.
This is sadly enough in conflict with some of the shit libraries my projects used and I still need to compile with g++6.3.1. However I don't see any 6.x versions of gcc in the aur or in the pacman repositories. How does one go about downgrading gcc or installing a separate gcc version without just compiling it from scratch (.e.g either downloading a pre compiled or a PKGBUILD)
Offline
You can downgrade using the Arch Linux Archive but it's not recommended. You would be better off setting up a container/changeroot/vm/whatever to maintain your projects. If you do downgrade your system, downgrade everything to the same timepoint. Also note that the system is no longer supported if you do.
You may find ala-config with the "--date" option useful for this. It's in the alatools package.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Or create your own gcc6 package which uses the same PKGBUILD as the old version of the [core]/gcc pkgbase, adjusted to install as /usr/bin/gcc6 alongside the main gcc package. You can see how a couple different gcc4* packages in the AUR do it.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
you can see if there's a compatible version in your pacman cache, but remember that downgrading, especially a library, means that you'll likely end up with some breakage
Last edited by HiImTye (2017-06-02 17:36:34)
Offline
Use containers/sandboxes when working on shitty projects that depends on outdated stuff. That way you can have a stable working enviroment that doesn't break on every update.
Last edited by Mr.Elendig (2017-06-03 12:03:21)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Or just install gcc5 from the repos if that works...
Offline
I temporarily installed GCC 6 from my local cache, to apply a patch and recompile a new version of conky. There's currently an open issue in conky stating that it doesn't compile with GCC 7... ![]()
Offline
.
Last edited by annoying_daniel (2017-06-07 04:45:50)
Offline
This is a GCC thread, not a conky one: https://wiki.archlinux.org/index.php/Co … _hijacking
Offline
Pages: 1