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: header search path change with 2003-03-02 commit


I hope I got attribution right.

On Tue, 25 Mar 2003, Daniel Jacobowitz wrote:
> Answering slightly out of order.
> > On Tue, Mar 25, 2003 at 06:44:20AM +0000, Neil Booth wrote:
> > > How many of the paths in cpp_include_defaults can begin with
> > > cpp_GCC_INCLUDE_DIR?  Can it be more than one?
> >

> On Tue, Mar 25, 2003 at 07:30:56PM +1030, Alan Modra wrote:
> > I've seen two.  $prefix/$target/sys-include and
> > $prefix/$target/include.
>
> Hooold on a second.  $prefix/$target has nothing to do with
> cpp_GCC_INCLUDE_DIR.

(From the cross-perspective, no sysroot:)

Err, it seems it has.  cpp_GCC_INCLUDE_DIR is the installation
point, the starting point for a ../../../.../stuff sequence
suffixed to cpp_GCC_INCLUDE_DIR or the moved equivalence,
yielding $prefix/$target/include and sys-include.

>  It's normally "$(libsubdir)/include" minus the
> last eight characters ("/include").  There shouldn't be more than the
> one include directory there normally.

Sure, but I think you forgot the ../ stuff.

brgds, H-P


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