Subject: Re: crosscompile attempt: solaris/x86 -> netbsd/sparc
To: Todd Vierling <tv@wasabisystems.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-toolchain
Date: 03/26/2002 23:42:38
On Tue, Mar 26, 2002 at 04:34:24PM -0500, Todd Vierling wrote:
> 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.

Well, I'm working on it :)

Solaris7/sparc in my case. It seems that /usr/xpg4/bin/sh isn't enouth
for libc/sys/makelintstub at last. I had to use bash.

Mabe make NetBSD's /bin/sh a host tool ? :)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--