Subject: Re: crosscompile attempt: solaris/x86 -> netbsd/sparc
To: None <tech-toolchain@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 03/27/2002 12:16:19
>   Solaris's /bin/sh is broken in some fantastic and amazing ways.

Not really!  it is a 'proper' bourne shell :-)
In some senses the scripts are at fault for assuming non-bourne
shell behaviour :-(

build.sh falls over because different shells treat the following
slightly differently:

$ xy=:x:y
$ IFS=:
$ set $xy
$ echo $1

(traditional sh sets $1=x, ksh et al set $2=x)

	David

-- 
David Laight: david@l8s.co.uk