Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gforth EC 8086 doesn't build #8

Open
larsbrinkhoff opened this issue Oct 4, 2017 · 2 comments
Open

Gforth EC 8086 doesn't build #8

larsbrinkhoff opened this issue Oct 4, 2017 · 2 comments
Assignees
Labels

Comments

@larsbrinkhoff
Copy link
Contributor

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 larsbrinkhoff changed the title Gforth EC doesn't build Gforth EC 8086 doesn't build Oct 4, 2017
@larsbrinkhoff
Copy link
Contributor Author

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

@forthy42 forthy42 self-assigned this May 14, 2018
@forthy42 forthy42 added the bug label May 14, 2018
@forthy42
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants