Annotation of gforth/INSTALL, revision 1.7
1.7 ! anton 1: You need gcc version 2.0 or later to compile gforth.
1.1 anton 2:
1.5 anton 3: First, type
1.3 anton 4:
1.5 anton 5: configure
1.1 anton 6:
1.4 pazsan 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.
1.1 anton 12:
1.4 pazsan 13: -without-debug: omits the -g switch and creates smaller images on machines
14: where "strip" has problems with gcc style debugging informations.
1.1 anton 15:
1.5 anton 16: --help: tells you about other parameters.
17:
1.4 pazsan 18: Now type
1.2 anton 19:
1.5 anton 20: make
21:
22: If your make has trouble with the Makefile, "make gforth" might work.
1.2 anton 23:
1.4 pazsan 24: If your installed gcc isn't called "gcc" (eg. called "gcc-2.6.1"), type
1.1 anton 25:
1.7 ! anton 26: make GCC=<whatever you call your gcc>
1.4 pazsan 27:
28: instead.
1.6 anton 29:
1.7 ! anton 30: Now you can check whether your shiny new Forth system works. Say
! 31:
! 32: make test
! 33:
1.6 anton 34: To make the documentation, type
35:
36: make -k gforth.info gforth.ps html
1.7 ! anton 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>