This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: configure --with-sysroot
- From: <gp at qnx dot com>
- To: "Daniel Jacobowitz" <drow at mvista dot com>, <gp at qnx dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Wed, 5 Mar 2003 18:46:09 -0000
- Subject: Re: configure --with-sysroot
Daniel Jacobowitz <drow at mvista dot com> said:
> On Wed, Mar 05, 2003 at 06:38:15PM -0000, gp at qnx dot com wrote:
> > <snip>
> >
> > Thanks, Daniel. We have a 'normal' native dir structure, but we use
it for
> > run-time as opposed to build-time. Even on a native system, we
treat all QNX6
> > targets as cross development. This simplifies our installs and
development
> > environment, because our target can always find the common system
headers in
> > ${sysroot}/usr/include, and binary files in ${sysroot}/${CPU}/*,
regardless of
> > host, and regardless of whether sysroot is null or not.
> >
> > Still, you are right, it's not a 'real' sysroot. :-)
> >
> > I was thinking then of splitting up TARGET_SYSTEM_ROOT and replacing
it with
> > TARGET_HEADER_SYSTEM_ROOT and TARGET_BINARY_SYSTEM_ROOT such that:
> >
> > --with-headers-sysroot sets only TARGET_HEADER_SYSTEM_ROOT
> > --with-library-sysroot sets only TARGET_BINARY_SYSTEM_ROOT
> > --with-sysroot sets them both and takes priority.
> >
> > Does that sound ok? Any gotchas I should be aware of?
>
> Hmm. I -think- that'll work fine.
Ok. Time will tell. I'll get on it and let you know.
GP
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer
>
--