This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: with-headers should be 'build' != 'host'


Daniel Jacobowitz <drow@mvista.com> writes:

> Secondly, you're still confused about --build, --host, and --target. 
> If $build != $host == $target, you are building a native toolchain for
> another system.  This has never been especially well supported, but
> --with-headers is definitely not the right way to do it.  The copied
> headers are used by the built gcc/xgcc, not by the compiler used to
> build GCC.

Hmmm, I don't follow here.  I seem to recall that I wrote
--with-header specifically to support the case of $build != $host ==
$target.  So I'm surprised that you say that --with-headers is not the
right approach.  You're suppose to use --with-headers for the header
files for $target.  It's not wrong to use it when $host == $target.

But I'm probably misunderstanding something.

Ian


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