export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig

load cups, libcups

espgs-8.70
----------
./configure --prefix=/usr/local --with-drivers=PS --with-fontpath=/usr/local/share/ghostscript/fonts --without-ijs --without-omni --without-x --disable-fontconfig --disable-gtk --disable-cairo --disable-compile-inits --without-jbig2dec --without-jasper --without-libpaper --disable-cups

edit Makefile for base libs and O2??
SHARE_JPEG=1
SHARE_LIBPNG=1
SHARE_ZLIB=1
CFLAGS_STANDARD=
CFLAGS_DEBUG=
CFLAGS_PROFILE=

make so

sudo make soinstall install-shared

$ cd /usr/local/bin                               
$ sudo ln -s gsc gs

--with-drivers=PS - /usr/local/share/ghostscript/8.70/lib/pdfwrite.ps ??