This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]