This is the mail archive of the 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: Updates to --with-sysroot support

On Nov  4, 2002, Daniel Jacobowitz <> wrote:

> On Mon, Nov 04, 2002 at 01:26:46PM -0500, Hans-Peter Nilsson wrote:
>> On Mon, 4 Nov 2002, Daniel Jacobowitz wrote:
>> >  - No longer defines PREFIX_INCLUDE_DIR for a sysrooted compiler.  This
>> >    one's a little more arguable but I think it's appropriate.  The sysrooted
>> >    compiler should work like a system compiler inside of $sysroot; searching
>> >    $prefix/include defeats that.
>> >    I need this in my local setups but I won't be heartbroken if it's
>> >    considered wrong for the FSF tree :)
>> I think it's right, because I want it!  FWIW.

> I'd even extend it to say that cross compilers should not search
> $prefix/include...

This sounds quite reasonable to me.  --includedir is supposed to be
for the host, not for the target (unless target==host), so it
shouldn't be used by a cross compiler.

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                 aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist                Professional serial bug killer

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