This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: introduce configure --with-sysroot
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 Aug 2002 22:37:30 -0400 (EDT)
- Subject: Re: introduce configure --with-sysroot
On 22 Aug 2002, Alexandre Oliva wrote:
> On Aug 22, 2002, Hans-Peter Nilsson <hp@bitrange.com> wrote:
>
> > On 22 Aug 2002, Alexandre Oliva wrote:
> >> This patch introduces --with-sysroot=<tree>, intended to deprecate
> >> --with-headers and --with-libs, that tells GCC to copy the specified
> >> <tree> into its install tree and use that as the root of the target
> >> system.
>
> > Nice. It would be even nicer if there was a means to avoid the
> > copying, when sysroot has already been populated by other means.
>
> Hmm... If the directory already exists, and contains a file named
> COPIED that contains the directory specified as the argument to
> --with-sysroot, the copy is skipped. Just like --with-headers and
> --with-libs.
Hmm, unneccessary and confusing magic, methinks. (Why should I
add a COPIED file? I didn't copy stuff, I installed it there!)
And it's undocumented. ;-) Maybe --with-installed-sysroot=.
brgds, H-P