[arch-general] Any way to revert chroot to gcc46?

David C. Rankin drankinatty at suddenlinkmail.com
Fri Apr 13 08:40:02 EDT 2012

On 04/05/2012 03:43 PM, Baho Utot wrote:
> 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>
> exit

Doesn't that require:

pacman -U gcc...xz gcc-libs...xz etc..?

  With pacman -S, it still tries to pull in gcc 4.7 from the normal repos.

David C. Rankin, J.D.,P.E.

More information about the arch-general mailing list