On Thu, Dec 12, 2013 at 3:34 AM, Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx> wrote: > > Is there a way to build gcc with a glibc that is installed in a > non-standard place? I tried > > $ cd build > $ CPPFLAGS="-I <glibc-includes>" LDFLAGS="-L <glibc-libs>" ../configure > $ make > > But that does not work. You want the --sysroot option to configure. See the GCC install docs. Ian