gforth icon indicating copy to clipboard operation
gforth copied to clipboard

Gforth EC 8086 doesn't build

Open larsbrinkhoff opened this issue 8 years ago • 2 comments

After having built and installed gforth, I get this:

./build-ec 8086
warning:EXIT is compile-only
cross.fs:63:13: redefined g with G
cross.fs:682:32: defined literal .dec as word
arch/8086/mach.fs:26:16: defined literal ec as word
cross.fs:1262:12: redefined NILInclude assembler
Include primitives

kernel-ec/nio.fs:96:3: defined literal d. as word
kernel-ec/nio.fs:104:3: defined literal . as word
kernel-ec/int.fs:128:1: '' is a double-cell integer; type `help' for more info
kernel-ec/int.fs:143:1: '' is a double-cell integer; type `help' for more info
kernel-ec/int.fs:527:3: defined literal dec. as wordPrepare booting

Unresolved:
key appeared in:
     accept file kernel-ec/saccept.fs line 31
emit appeared in:
     included file kernel-ec/saccept.fs line 55
     included file kernel-ec/saccept.fs line 52
     included file kernel-ec/saccept.fs line 52
     refill-loop file kernel-ec/saccept.fs line 50
     accept file kernel-ec/saccept.fs line 42
     accept file kernel-ec/saccept.fs line 39
     accept file kernel-ec/saccept.fs line 39
     accept file kernel-ec/saccept.fs line 39
     backspaces file kernel-ec/io.fs line 59
     space file kernel-ec/io.fs line 54
     bell file kernel-ec/io.fs line 50
     cr file kernel-ec/io.fs line 49
     type file kernel-ec/io.fs line 29
in file included from *the terminal*:0
in file included from *the terminal*:-1
kernel-ec/main.fs:97: error: Unresolved words!
.unresolved                          \ how did we do?
Backtrace:
                                         0 $7F76FE307040 throw
cross.fs:2093:17                         1 $7F76FE5D2F70 c(abort")
cross.fs:2106:15                         2 $7F76FE5D3168 .unresolved
cp: cannot stat 'kernl-8086.fi-': No such file or directory
cp: cannot stat 'kernl-8086.fi-': No such file or directory

larsbrinkhoff avatar Oct 04 '17 06:10 larsbrinkhoff

These Gforth EC targets also seem broken: 4stack, 6502, c165, lm32, m68k, sharc, and shboom.

larsbrinkhoff avatar Oct 04 '17 06:10 larsbrinkhoff

The 4stack assembler depends on an old interface to extend the interpreter. Needs rewriting to use recognizers.

The 6502 has a problem with the constant 0??? Same with m68k.

lm32 also needs work

sharc never really worked, and the build process wasn't straight forward.

shboom also needs work.

forthy42 avatar May 14 '18 20:05 forthy42