Subject: Re: crosscompile attempt: solaris/x86 -> netbsd/sparc
To: Hubert Feyrer <firstname.lastname@example.org>
From: Todd Vierling <email@example.com>
Date: 03/26/2002 16:34:24
On Tue, 26 Mar 2002, Hubert Feyrer wrote:
: > * /bin/sh *MUST* be replaced with a copy of, or symlink to, either
: > /bin/ksh or /usr/xpg4/bin/sh. This will be fixed in the future to use
: > /usr/xpg4/bin/sh in nbmake by default. (Solaris's /bin/sh is broken
: > in some fantastic and amazing ways.)
: > There's a lot of other very important Solaris info in that file.
: OK, thanks a lot!
: Would it be hard to make nbmake use some variable ($SHELL) to override
: /bin/sh? Or is this more twisted?
More twisted. Not just nbmake uses it; there are some shell scripts
executed without an explicit "sh". This will eventually be fixed, but it's
not near-term easy.
I always replace /bin/sh with /usr/xpg4/bin/sh on Solaris boxes to work
around their brain damage. The broken sh probably stays broken only to
provide SunOS 4 script compatibility.
-- Todd Vierling <firstname.lastname@example.org> * Wasabi & NetBSD: Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/