Short: Ghostscript5.03 original sources Author: GS(Aladdin)/Amiga(Olaf Barthel)/Steffen Opel)/Port(me) Uploader: Joop vandeWege mail mococo nl Type: text/dtp Architecture: generic This is the original Ghostscript source archive in lha format instead of tar.gz. You'll need the following two archives to be able to recompile GS: gs503src_amiga.lha gs501src_jpg6a.lha + for png support: gs501src_png.lha gs501src_zlib.lha 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. 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 - 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, the lines DEVICES_DEVSx= ..... (add/remove devices to your desire), save! - cd to your build directory (cd work:build/gs) - sh work:source/gs5.03/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!