I got the standalone forth from openbios-devel-20040919-1800.tar.bz2 to build and run on Cgywin and Linux.
While building I did get this error (had the same problem on linux as well): make[2]: *** No rule to make target `../../obj-x86/build/arch/unix/../../fs/libfs.a', needed by `../../obj-x86/build/arch/unix/unix'. Stop. make[1]: *** [sub-arch/unix-all] Error 2
Which I was able to correct by going into fs and doing a make from there. ~/openbios/openbios-devel-20040919-1800/fs $ make Compiling ioglue.o : compiling= gcc -I. -I../obj-x86/include -I./include -I../include -I- -Wall -Wmissing-prototypes -g -O2 -fno-builtin -msoft-float -Wp,-MT,../obj-x86/build/fs/ioglue.o,-MD,../obj-x86/deps/fs/ioglue.P -c ioglue.c -o ../obj-x86/build/fs/ioglue.o ok ofiles=`find ../obj-x86/build/fs/.ardst -name '*.o'` ; \ ar cru ../obj-x86/build/fs/libfs.a_ $ofiles && ranlib ../obj-x86/build/fs/libfs.a_ && mv ../obj-x86/build/fs/libfs.a_ ../obj-x86/build/fs/libfs.a ok
After that the top level make completed without problem. (This fixed the build issue on linux as well)
so I ran it.
{ ---------------- start clip ----------------------- } $ make run ./obj-x86/build/arch/unix/unix ./obj-x86/build/arch/unix/unix.dict Welcome to OpenBIOS v1.0.RC1 Built on Sep 19 2004 16:22 Type 'help' for detailed information
[unix] Booting default not supported.
0 > : star [char] * emit ; ok 0 > : stars 0 ?do star loop ; ok 0 > 5 stars ***** ok 0 > 10 stars **************** ok 0 > bye Farewell!
ok { ---------------- end clip ----------------------- }
Ok, no problem there (apart from me being momentarily stumped about hex being the default base, but that makes sense), so I tried it again.
{ ---------------- start clip ----------------------- } $ make run ./obj-x86/build/arch/unix/unix ./obj-x86/build/arch/unix/unix.dict Welcome to OpenBIOS v1.0.RC1 Built on Sep 19 2004 16:22 Type 'help' for detailed information
[unix] Booting default not supported.
0 > : star [char] * emit ; ok 0 > : stars 0 ?do star loop ; star isn't unique. ok 0 > star * ok 0 > 5 stars stars: undefined word. 0 > bye Farewell!
ok { ---------------- end clip ----------------------- }
That time I had a problem. Before I entered the "stars" line I hit up arrow, and got the "0 > : star [char] * emit ;" back. That is what I'd expect. I then pressed up arrow again and got: "0 >" so I figured I was on an empty line. After typing the definition for stars again, I got the "star is not unique" warning message.
On linux it acted the same way.