Subject: Re: Cross-building on FreeBSD 4.x
To: Valeriy E. Ushakov <>
From: Simon J. Gerraty <>
List: current-users
Date: 02/01/2003 16:10:21
>I've committed the last few changes that make it possible to
>cross-build on a FreeBSD 4.x host.


>Also note, that FreeBSD 4.x has a 64K limit to command line +
>environment, so building with a long path to the root of the NetBSD
>source tree will fail somewhere in toolchain (www, GNU toolchain
>makefiles).  E.g. /export/netbsd/cvs/src will cause overflow, while
>/nb/src will work. 

We stuck this problem at work a couple of years ago when we started
using MAKEOBJ*.  The solution is to use a relative path for .CURDIR
I've blathered about this stuff here many times over the last year or
so, so won't do so again... (unless asked ;-) but suffice to say,
NetBSD make has all the hooks needed to do this (we use bmake - my
autoconf version of NetBSD make at work) and it does solve the