Message info
To:General Discussion about Arch Linux From:Baho Utot Subject:Re: [arch-general] Any way to revert chroot to gcc46? Date:Thu, 05 Apr 2012 16:43:53 -0400

On 04/05/2012 03:36 PM, David C. Rankin wrote:
> Guys,
> Is there any way to revert my chroot for building back to gcc46
> immediately prior to this last gcc47 update? Obvious reasons - bug
> fixes required due to new gcc47 C11 & C11++ extension implementation,
> etc..., but I would like to continue building until the bugs are
> fixed. Is there a reasonable way to do that absent having to set up
> and point the chroot pacman.conf at a hand-built repo with just the
> gcc46 files in it?

copy the gcc binary/pkgbuilt files to <chroot>/root/repo

repo-add gcc<whatever>*

chroot <chroot>/root

pacman -S gcc<whatever>