Short: Ghostscript5.03 Amiga sources Author: GS(Aladdin)/Amiga(Olaf Barthel)/Steffen Opel)/Port(me) Uploader: JoopvandeWege mail mococo nl Type: text/dtp Requires: gs503src_gs.lha/gs501src_jpg6a.lha Architecture: generic This is the Amiga port of Ghostscript5.03 containing the Amiga specific sources, if you want to recompile GS then you'll have to get 'gs503src_gs.lha' and 'gs501src_jpg6a.lha' too. For more details see below. Comments/Suggestions/Bugs to: JoopvandeWege@mail.mococo.nl Please use a Subject field with the name 'GS503' in it. Please direct all mail to me except when you're 100% sure it is a GS problem then you can use the Aladdin email address. Please be sure to read the Amiga section in Use.txt for details (can be found in the directory 'doc'). Joop van de Wege Recompiling GS: Steps needed to be done to recompile GS from scratch using GCC2.63/2.70: Get gs503src_gs.lha Get gs503src_amiga.lha Get gs501src_jpg6a.lha Get gs501src_zlib.lha Get gs501src_png.lha Unpack gs503src to HD, a directory 'gs5.03' will be created. Unpack to the same HD (files will also be placed into 'gs5.03': - gs503amiga.lha, overwriting some files. This is OK gs503amiga.lha contains: - gdevamiga.c, the amiga device driver from Olaf Barthel - gdevpipe.c, patched for use with Libnix - gp_amiga.c, platform dependant stuff for the Amiga - use.txt, has an Amiga section! - Configure.in/Makefile.in to rebuild Makefile and be able to separate source and build directory. (now includes 'makefile.libnix' for those without configure) - gs501src_jpg6a which creates the 'jpeg-6' directory - gs501src_zlib which creates the 'zlib' directory - gs501src_png which creates the 'libpng' directory - edit gcc-head.mak.in, install locations, the lines DEVICES_DEVSx= ..... (add/remove devices to your desire), save! - cd to your build directory (cd work:build/gs) - sh work:source/gs5.01/configure --prefix=Ghostscript: (configure tests your configuration, generates Makefile) - make (or use the supplied 'build_gs' script,overrides some settings) - make install The last two archives are not needed when you don't intend to rebuild GS with PNG support. If you haven't forgotten to set the stack to a reasonable amount (~50K), you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h (1-1.5h when using PowerCache) to compile with the current device driver set and the file 'gdevamiga.c' needs about 7-8Mb when -O2 is on. It needs less if you don't optimize :) Make itself takes another 2Mb so in case of problems just compile gdevamiga.c on its own and let make resume after that. GCC2.7.2.1 (?) (Aminet) works with VMM3.3 (on Aminet too). Better yet get the latest gcc compiler from ftp.ninemoons.com/pub/geekgadgets!