This is the mail archive of the
mailing list for the GCC project.
Re: Help about how to bootstrap gcc with local version glibc other than system one
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Bin.Cheng" <amker dot cheng at gmail dot com>
- Cc: "gcc\ at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 01 Feb 2016 19:08:49 +0100
- Subject: Re: Help about how to bootstrap gcc with local version glibc other than system one
- Authentication-results: sourceware.org; auth=none
- References: <CAHFci2-MGvGREn85cu91U_KT0bqsgMuCWsfON42u5ENJaiaH4w at mail dot gmail dot com>
"Bin.Cheng" <firstname.lastname@example.org> writes:
> Seems to me Andrew was right in comment of PR69559, that we simply
> couldn't bootstrap GCC with sysroot.
The main use of sysroot is to build a cross compiler, which you cannot
> My question here is: If this is the case, how should I bootstrap a gcc
> against local version glibc, rather than the system one? Is chroot
> the only way to do that?
Yes, building in a chroot or a VM is the best way to do it. For
example, that's how the openSUSE Build Service works.
Andreas Schwab, email@example.com
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."