This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: --sysroot=yes
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jay <jayk123 at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 25 Jul 2008 10:52:33 +0000 (UTC)
- Subject: RE: --sysroot=yes
- References: <COL101-W9512B4046D91DE74059DCE6860@phx.gbl>
On Fri, 25 Jul 2008, Jay wrote:
> It allows -with-build-sysroot to default like -with-sysroot.
The purpose of --with-build-sysroot is if you have installed your sysroot
in a different location from the configured --prefix. For example, you
have configured with --prefix=/opt/somewhere, the final location the
toolchain will be configured for, but have installed the sysroot under
/scratch/somewhere, a staging location used in the build, and will be
installing with "make install prefix=/scratch/somewhere".
There should be no need for or use of --with-build-sysroot except in
configurations like this.
--
Joseph S. Myers
joseph@codesourcery.com