~ubuntu-branches/ubuntu/wily/gargoyle-free/wily-proposed

« back to all changes in this revision

Viewing changes to terps/nitfol/INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Beucler
  • Date: 2009-09-11 20:09:43 UTC
  • Revision ID: james.westby@ubuntu.com-20090911200943-idgzoyupq6650zpn
Tags: upstream-2009-08-25
ImportĀ upstreamĀ versionĀ 2009-08-25

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
As far as I know, nitfol contains mostly ANSI C, so most recent C
 
2
compilers should compile it fine. If you have any problems, let me
 
3
know.
 
4
 
 
5
If you have make, just use the supplied Makefile.  You may wish to
 
6
edit it to specify options and locations of libraries. Type 'make
 
7
target', where target is one of: xnitfol, termnitfol, cheapnitfol,
 
8
dosnitfol, glktdnitfol, winnitfol, mudnitfol, or mpcmudnitfol,
 
9
depending on which Glk library you wish to link with.  Typing
 
10
'make all' will make the first three of these.
 
11
 
 
12
If you don't have make, compile automap.c solve.c infix.c debug.c
 
13
inform.c quetzal.c undo.c op_call.c decode.c errmesg.c globals.c iff.c
 
14
init.c main.c io.c z_io.c op_jmp.c op_math.c op_save.c op_table.c
 
15
op_v6.c oplist.c stack.c zscii.c tokenise.c struct.c objects.c
 
16
portfunc.c hash.c, one of graphics.c or no_graph.c, one of blorb.c or
 
17
no_blorb.c, and one of sound.c or no_snd.c, depending on whether your
 
18
Glk library supports graphics, Blorb, and/or sound.  If your Glk
 
19
library needs startup code, link in startunix.c, startwin.c,
 
20
startdos.c, or startmac.c as appropriate.  Compile time options are
 
21
determined by the definition or lack thereof of macros, so either pass
 
22
them to your compiler or put them in the beginning of nitfol.h (like
 
23
#define SMART_TOKENISER).  Look in the file 'Makefile' for a list of
 
24
these options.  Link together the compiled c files with your Glk
 
25
library to produce an executable.  If you make a project file to do
 
26
your compilation for a platform lacking make, please send it to me so
 
27
I can include it in future releases.
 
28
 
 
29
Under djgpp, you'll need to remove the -ansi option for startunix.c /
 
30
startdos.c to compile (non-insane suggestions to get it to define DIR
 
31
properly with -ansi would be appreciated).
 
32
 
 
33
If you're on a platform that doesn't normally come with compilers,
 
34
uploading the result to gmd may be appreciated by the compiler-less
 
35
(if no one else has done so).
 
36
 
 
37
If something doesn't doesn't work, please complain.
 
38