Annotation of generator/compile/INSTALL, revision 1.1.1.2

1.1.1.2 ! root        1: Copyright (C) 1997-2001 James Ponder
1.1       root        2: 
                      3: This program is licensed to you according to the conditions within the file
                      4: LICENSE.  Please read this license before continuing.
                      5: 
1.1.1.2 ! root        6: !! I recommend that you use a binary version, Generator is quite a complicated
        !             7: !! project.  The tcl/tk version contains the debugger but has an out of date
        !             8: !! user interface and is of course slower as it runs in X.  Of course, if you
        !             9: !! don't have an intel processor you will have to use the tcl/tk version.
        !            10: !!
        !            11: !! Please email me if you have compilation problems, I haven't had any
        !            12: !! feedback in ages about compiling this on different platforms.
        !            13: 
1.1       root       14: Generator Installation
                     15: ======================
1.1.1.2 ! root       16:     ./configure  --enable-svgalib                    (SVGALIB version)
        !            17:                  --enable-allegro                    (ALLEGRO version)
        !            18:                  --enable-tcltk                       (TCL/TK version)
1.1       root       19:     (edit ../hdr/config.h, e.g. set #define PROCESSOR_INTEL)
                     20:     make
                     21:     cd ../src
                     22:     ./generator
                     23: 
                     24: In practice you will have to type some more...
                     25: 
                     26: Tcl/tk version
                     27: ==============
                     28:   ... For example, there is no 'make install', so the above will assume
                     29:   that the files contained in the 'share' directory are located at
                     30:   '/usr/local/share/generator'.
                     31: 
                     32:   Note that since there are still functions that generator doesn't support,
                     33:   you may find your game sounds horrible because of the printing of information
                     34:   to the screen, which seriously slows the process down.  If this occurs you
                     35:   can fix this by adding '>/dev/null' to the end of the command.
                     36: 
                     37: All versions on Intel
                     38: =====================
                     39:   Following the above procedure will compile the platform independant Z80
                     40:   code written by Edward Massey.  There is an i386 object file compiled from
                     41:   the mz80 assembler version written by Neil Bradley in the .extra directory.
                     42: 
1.1.1.2 ! root       43:   If you are using an i386 processor (Pentiums etc.) then I strongly
1.1       root       44:   advise you do the following, AFTER following the compilation procedure
                     45:   above:
                     46: 
                     47:     cd src
                     48:     cp .extra/z80.o.elfmz80 obj/z80/z80.o  (overwriting the file already there)
1.1.1.2 ! root       49:     edit cpuz80.c and comment-in the mz80init() call
1.1       root       50:     make
                     51: 
                     52:   This z80 emulation has much better timing, which means that games sound a lot
                     53:   better, plus you get the added speed that comes from an assembler version.
                     54: 
                     55: Allegro cross-compilation
                     56: =========================
                     57:   Assuming you have setup djgpp and allegro in cross-compilation mode, you
                     58:   should be able to do:
                     59: 
1.1.1.2 ! root       60:     PATH=/usr/i586-pc-msdosdjgpp/bin:$PATH ./configure --enable-allegro
        !            61:     PATH=/usr/i586-pc-msdosdjgpp/bin:$PATH make
1.1       root       62: 
                     63: -=- James Ponder -=- [email protected] -=- http://www.squish.net/ -=-

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.