version 1.4, 1994/11/24 16:55:11
|
version 1.5, 1995/01/21 17:26:40
|
Line 1
|
Line 1
|
Preliminary version |
Preliminary version |
|
|
Create a makefile with configure. |
|
You need gcc version 2.0 or later to compile gforth. |
You need gcc version 2.0 or later to compile gforth. |
|
First, type |
|
|
Create a machine description file for your machine, if necessary. |
configure |
|
|
configure has the following useful parameters: |
configure has the following useful parameters: |
-direct-threaded: setup for a direct threaded interpreter; this is faster |
-direct-threaded: setup for a direct threaded interpreter; this is faster |
Line 14 configure has the following useful param
|
Line 14 configure has the following useful param
|
-without-debug: omits the -g switch and creates smaller images on machines |
-without-debug: omits the -g switch and creates smaller images on machines |
where "strip" has problems with gcc style debugging informations. |
where "strip" has problems with gcc style debugging informations. |
|
|
|
--help: tells you about other parameters. |
|
|
Now type |
Now type |
|
|
gmake |
make |
|
|
|
If your make has trouble with the Makefile, "make gforth" might work. |
|
|
or whatever the name of GNU make on your system is. |
|
If your installed gcc isn't called "gcc" (eg. called "gcc-2.6.1"), type |
If your installed gcc isn't called "gcc" (eg. called "gcc-2.6.1"), type |
|
|
gmake CC=<whatever you call your gcc> |
make CC=<whatever you call your gcc> |
|
|
instead. |
instead. |