This is the amiga-port of bc 1.02 Actually, I didn't really port anything. I simply set up the config.h file, wrote a lmkfile, found out that SAS/C V5.10b lc.lib doesn't have getopt(), copied getopt.c, getopt.h, tailor.h from some other GNU program, found out that SAS/C V5.10b sucks (it complains about "#if defined(const)" in getopt.c), and finally compiled the whole thing. The checklib.b test reports some failures; I compiled bc with gcc before doing the SAS/C port, and the gcc-compiled bc also reports failures. I don't know whether this is normal or not. This archive should contain the following files: bc the executable bc.0 the man-page ReadMe.amiga this file README the original readme COPYING the GNU GENERAL PUBLIC LICENSE, Version 2 config.h various files needed to recompile src.diff lmkfile getopt.c getopt.h tailor.h If you want to recompile bc, do the following: get the original bc-1.02.tar.gz archive and unpack it. Copy "tailor.h", "getopt.h", "getopt.c", "config.h" and "lmkfile" from the Amiga-distribution to the bc-1.02 directory, apply the src.diff patch, cd into bc-1.02 and type 'lmk usedist'. Then type 'lmk' and wait. If you don't do 'lmk usedist', the lmkfile will remake bc.c, y.tab.h and scan.c. This procedure requires yacc and lex. If you don't apply the patch, no harm will happen. The patch is there since AmigaOS signals are just signals, saying e.g. "please abort". That is why I put a chkabort() call inside the main loop, to make sure interrupts are not delayed until the next time bc decides to do some I/O. Christian Stieber Konradstraße 41 D-85055 Ingolstadt (Germany) Currently I'm a student, so I can be reached as stieber@informatik.tu-muenchen.de