This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help about how to bootstrap gcc with local version glibc other than system one


On Mon, Feb 1, 2016 at 6:08 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "Bin.Cheng" <amker.cheng@gmail.com> 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
> bootstrap anyway.
>
>> 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.
Hi Andreas,
Thanks very much for helping.  I will try to do it in chroot.

Thanks,
Biin
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]