This page shows how to cross-compile dash for AT&T UnixPC. A pre-compiled binary is also available.

(Dash is useful if you need a POSIX-compliant shell to run configure scripts for other software packages on the UnixPC itself, as the UnixPC builtin shell is not POSIX compliant, and fails to run many configure scripts.)

To cross-compile dash, you need:

Once you have downloaded these, build and install the cross compiler (if not yet done), and then follow the below instructions:

tar xzvf dash-
mv dash- portable-dash
cd portable-dash
patch -p1 -s <../dash.diff
cd ..
mkdir compile-dash
cd compile-dash
../portable-dash/configure CC=/opt/unixpc/bin/unixpc-gcc --host unixpc --disable-fnmatch

To link dash with the shared library, add CFLAGS="-shlib -O3 -Os -fomit-frame-pointer" to the configure command line.

The compiled binary will be found in src/dash, you can transfer it to the UnixPC using kermit over the serial line, or using mtools.