This is the mail archive of the
mailing list for the GDB project.
Re: with-headers should be 'build' != 'host'
Daniel Jacobowitz <firstname.lastname@example.org> 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.