1: You need gcc version 2.0 or later to compile gforth.
2:
3: First, type
4:
5: configure
6:
7: configure has the following useful parameters:
8: -direct-threaded: setup for a direct threaded interpreter; this is faster
9: on many machines, but needs special support. Unsupported machines will
10: ingore this switch. On some CISC machines, direct threading isn't an
11: advantage over indirect threading.
12:
13: -without-debug: omits the -g switch and creates smaller images on machines
14: where "strip" has problems with gcc style debugging informations.
15:
16: --help: tells you about other parameters.
17:
18: Now type
19:
20: make
21:
22: If your make has trouble with the Makefile, "make gforth" might work.
23:
24: If your installed gcc isn't called "gcc" (eg. called "gcc-2.6.1"), type
25:
26: make GCC=<whatever you call your gcc>
27:
28: instead.
29:
30: Now you can check whether your shiny new Forth system works. Say
31:
32: make test
33:
34: To make the documentation, type
35:
36: make -k gforth.info gforth.ps html
37:
38: If everything is allright, you may want to install gforth. Type
39:
40: make install
41:
42: You may want to override the defaults for the directories. E.g., if
43: you want to install in the /gnu hierarchy instead of in the default
44: /usr/local hirarchy, say
45:
46: make install prefix=/gnu
47:
48: Alternatively, you can specify the prefixes with configure.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>