Hi Piet,

I have ported your ps2pk program to amiga platform and had along with it some
minor problems which I want to tell you here (compiler specific).
I used the SAS/C-Compiler to compile your program and also needed to create
some makefiles (which I can send you if you're interested in spreading).

ps2pk1.4 compiles without any problems (with patches 1-4 applied to it)
I have used it (personally only) without problems so far (except the
wrong checksums of course, but this is known to you and solved).

ps2pk1.5:
common/psearch.c

double near = (double)_bdpi, half = 1.095445115; int tolerance;
psearch.c 384 Error 77: identifier expected

This was produced because the variable near is a compiler specific variable
defining whether data/code items should be in the near or far section.
I've renamed it temporarily to near2.

diffs to PSres/mkpsres.c:
73a74,78
> /* SASC specific */
> #ifdef __SASC
> typedef unsigned int ssize_t;
> #endif
> 

ps2pk/makefile.sas
Except of general changes I had to rename some variables:
PSRES-LIB -> PSRES_LIB
COMMON-LIB -> COMMON_LIB

mtpk/mtpk.c diffs
> /* SASC specific */
> #ifdef __SASC
> typedef unsigned int ssize_t;
> int CXBRK(void) { return (0); }    /* Disable SAS CTRL/C handling
> int chkabort(void) { return (0); } /* really */
> #endif
> 
675a683
> #ifndef __SASC
679a688,689
> #endif
> 
726a737
> #ifndef __SASC
730a742
> #endif

mtpk/dvifonts.c:
Same problem with near as above.

I also needed to change all files which read from current directory using "./".
On amiga platforms this needs to be replaced by "" (i.e. nothing). This is
similar to the MSDOS replacements (e.g. in defs.h).

The main problems I have concern path names. I'd like to know in which files
(and functions :) ypu deal with them. The Amiga systems uses so called
"Assigns" which are abreviations to directories. For example "tex:" is on
my system "Unicorn:Programme/text/tex/), where Unicorn: is the name of the
device dh1:. Parent directories are accessed using "/" instead of "../" and
the main (root) directory is accessed with ":" instead of "/". Thank you
in advance

- Reinhard Katzmann
