This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Building Gcc with private Glibc
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: vogt at linux dot vnet dot ibm dot com, gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 18 Sep 2015 11:46:18 +0100
- Subject: Re: Building Gcc with private Glibc
- Authentication-results: sourceware.org; auth=none
- References: <20150918103000 dot GA20432 at linux dot vnet dot ibm dot com>
On 18 September 2015 at 11:30, Dominik Vogt wrote:
> To debug a memory management issue in the Gcc code, I need to link
> Gcc with a private, patched version of Glibc. What's the correct
> way to do this? Is there some environment variable in the Gcc
> build infrastructure that can help?
I think you need to use the --with-sysroot option when configuring GCC.
But I've never done it myself.