Building gcc with a glibc from a non-standard place?
Ian Lance Taylor
iant@google.com
Thu Dec 12 23:52:00 GMT 2013
On Thu, Dec 12, 2013 at 3:34 AM, Dominik Vogt <vogt@linux.vnet.ibm.com> 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
More information about the Gcc-help
mailing list