version 1.23, 1996/10/31 17:41:15
|
version 1.25, 1996/11/07 22:31:31
|
Line 103 env "FORTHSIZES=--dictionary-size=256k -
|
Line 103 env "FORTHSIZES=--dictionary-size=256k -
|
The line above reaffirms the default sizes. Note that the locals |
The line above reaffirms the default sizes. Note that the locals |
stack area is also used as input buffer stack. |
stack area is also used as input buffer stack. |
|
|
|
If C's "long long" do not work properly on your machine (i.e., if the |
|
tests involving double-cell numbers fail), you can build Gforth such |
|
that it does not use "long long": |
|
|
|
env ac_cv_sizeof_long_long=0 ./configure |
|
|
|
|
|
Cross-Configuration |
|
|
|
A few tests made by the configure script do not work in a |
|
cross-compilation situation. You have to provide the results of these |
|
tests by hand. E.g., if you compile for a 386 architecture processor: |
|
|
|
env ac_cv_sizeof_char_p=4 ac_cv_sizeof_short=2 ac_cv_sizeof_int=4 ac_cv_sizeof_long=4 ac_cv_sizeof_long_long=8 ac_cv_c_bigendian=no ./configure |
|
|
|
The ac_cv_sizeof_... variables give the sizes of various C types; |
|
ac_cv_sizeof_char_p is the same as "sizeof(char*)" in C code. The |
|
ac_cv_c_bigendian variable gives the byte order. |
|
|
|
|
Preloading installation-specific code |
Preloading installation-specific code |
|
|
If you want to have some installation-specific files loaded when |
If you want to have some installation-specific files loaded when |
Line 174 meantime, start gforth with
|
Line 194 meantime, start gforth with
|
|
|
gforth -i kernel.fi startup.fs |
gforth -i kernel.fi startup.fs |
|
|
|
If the addresses changes by only a small amount (e.g. by one or two |
|
pages), you can fix it by defining FUZZ (in config.h) to a number at |
|
least two times the changes you observe (0x4000 is a good idea, this |
|
is four 4k pages) and recompile. We do this for the DJGPP port for |
|
DOS, because the start address there changes by one or two pages, and |
|
it helps us to keep the DOS people happy without investing too much |
|
work in a braindead environment. |
|
|
|
|
2) "%s: Checksum of image ($13579b) does not match the executable ($2468a) |
2) "%s: Checksum of image ($13579b) does not match the executable ($2468a) |
The Gforth installer should look into the INSTALL file" |
The Gforth installer should look into the INSTALL file" |