dash

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-0.5.12.tar.gz
mv dash-0.5.12 portable-dash
cd portable-dash
patch -p1 -s <../dash-0.5.12.diff
cd ..
mkdir compile-dash
cd compile-dash
../portable-dash/configure CC=/usr/local/bin/unixpc-gcc CFLAGS="-shlib -fomit-frame-pointer -Wno-implicit-function-declaration -DJOBS=0 -s" --host unixpc
make

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.