On Thu, 3 May 2001, Warner Losh wrote:

> In message <[EMAIL PROTECTED]> "David O'Brien" writes:
> ...
> : I thought I had gotten my systems clean enough when I did the post-commit
> : ``make buildworld'' test.  *sigh* a nice bootstrap issue here.  Problem
> : is elf-hints.h is a new header and a buildtool uses it.  I guess a
> : -I/usr/src/include is needed (or an install of headers into /usr/obj).
      ^^^^ should be a relative path.  Fixed in the committed version

> You would have to add -I/usr/include before the -I/usr/src/include.

> Otherwise things will compile with the host's stdio and friends, which
> could be bad if there were a mismatch between them (like in FILE
> definitions, say).

The committed version has this bug.

> Sometimes I think that adding a "cross update install" target which
> would put new .h files into /usr/obj/mumble/include might not be a bad
> thing....

This has essentially the same problems as putting /usr/src/include before
/usr/include.  Very few headers outside of /usr/include are certain to
work on the host for _all_ cross-tools.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to