Subject: Re: CVS commit: src/libexec/httpd
To: None <source-changes@netbsd.org, tech-userlevel@netbsd.org>
From: Valeriy E. Ushakov <uwe@stderr.spb.ru>
List: tech-userlevel
Date: 10/17/2007 07:44:48
On Tue, Oct 16, 2007 at 22:51:59 -0400, Thor Lancelot Simon wrote:

> Small embedded devices are a crucial market for NetBSD.  Most of the build
> environments for those devices are cross-build environments, which is why
> build.sh has helped NetBSD win over a lot of people and companies working
> with those environments.  Unfortunately, from those people's perspective,
> pkgsrc just isn't part of NetBSD that they can use, because it cannot,
> for example, cross build arbitrary packages from amd64 to mips.

BTW, any program with bsd makefiles (or for that matter any
well-behaved autoconfed program - but I only really tried gnu hello :)
can be be built outside of the src tree uisng nbmake wrapper.

Our $TOOLDIR + $DESTDIR are only few symlinks short to providing
complete generic cross-build environment:

$ cd $TOOLDIR/$gnu_target_name
$ ln -s $DESTDIR/usr/include sys-include
$ cd lib
$ ln -s $DESTDIR/usr/lib/* .
$ ln -s -f $DESTDIR/lib/* .

and foo--netbsd-gcc &co become selfcontained toolchain (no -isystem
&co required).

SY, Uwe
-- 
uwe@stderr.spb.ru                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen