I got it to build last night, but haven't tested it yet. I downloaded the qemu image file for debian lenny that was linked to in the qemu ARM page. This distro is older than the debian sid file used by LoneTech, so it has a better chance of being compatible with what's on the PB devices. I loaded up the image with development tools, and then built ghostscript in it with the following configuration:
Code:
$ ./configure --prefix=/mnt/ext1/system --with-fontpath=/ebrmain/fonts/ --with-fontpath=/mnt/ext1/system/fonts/ --without-ijs --disable-dbus --disable-cups --disable-gtk --disable-sse2 --without-libidn --without-libpaper --without-pdftoraster --without-x --without-jbig2dec --without-jasper --without-omni --with-drivers=FILES
After it built, I created a directory in tmp, and did the install there:
Code:
mkdir /tmp/gs
make install DESTDIR=/tmp/gs
I then went in and pruned out the man pages, examples and whatnot that wasn't required, and tarred up everything else. Hopefully, it should just unpack into /mnt/ext1/system on the reader and "just work".
Edit: It worked! I was able to produce a grayscale tiff from a colour postscript file.