Subject: Re: kern/12298: fairly impressive cross-compilation bogon in
To: None <itojun@iijlab.net>
From: Todd Vierling <tv@wasabisystems.com>
List: netbsd-bugs
Date: 02/28/2001 20:33:37
On Thu, 1 Mar 2001 itojun@iijlab.net wrote:

: >: 	i still wonder why #ifdef _STANDALONE is needed.
: >: 	- native compilation should go fine with <arpa/tftp.h>
: >: 	- cross compilation should supply netbsd includes, so it should
: >: 	  go fine with <arpa/tftp.h>
: >There are NetBSD target environments that have *no* userland, and thus,
: >really shouldn't need src/include.
:
: 	so you don't supply any include files to cross compiler (like under
: 	/usr/pkg/lib/gcc/whatever/include?)  is it a common practice?

This is becoming more common as embedded applications are taking shape.
src/include should only be needed on systems that will have a userland;
anything needed by kernel and standalone code should be self-contained
within syssrc/sys.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/