Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #9457

Re: Gforth-EC, the underappreciated embedded Forth

From David Kuehling <dvdkhlng@gmx.de>
Newsgroups comp.lang.forth
Subject Re: Gforth-EC, the underappreciated embedded Forth
Date 2012-02-08 09:52 +0100
Message-ID <87bop9emgv.fsf@mosquito.pool> (permalink)
References <87fwen62fr.fsf@snail.Pool> <32b3uvajja05$.1c9m4po55si37.dlg@40tude.net>

Show all headers | View raw


>>>>> "Coos" == Coos Haak <chforth@hccnet.nl> writes:

> Op Mon, 06 Feb 2012 23:07:36 +0100 schreef David Kuehling:
>> Hi,
>> 
>> I've been having a look at Gforth-EC lately, that's the embedded
>> cross-compiled Forth support that has been included with Gforth all
>> the time, but as it's well hidden and pretty undocumented, I guess
>> most people wouldn't have noticed it.
>> 
>> Now it turns out it only takes a few commands to generate a usable
>> 8086 gforth-ec executable, running in dosbox (i.e. emulated under
>> Linux):
>> 
>> From the Gforth source directory, run:
>> 
>> ./build-ec 8086 mv kernl-8086.fi gforthec.com # need to rename for
>> dosbox to execute it dosbox gforthec.com
>> 
>> And voila, it prints the standard Gforth welcome message.  Some
>> testing:
>> 
> What version of Gforth are you using, I get:

> coos@donald:~/work/forth/gforth-0.7.0$ ./build-ec 8086

> in file included from *OS command line*:-1 in file included from
> kernel/main.fs:43 cross.fs:1156: No such file or directory [IF]
> >>>included<<< hex Backtrace: $9C5D6C throw cp: kan status van
> ‘kernl-8086.fi-’ niet opvragen: Bestand of map bestaat niet

Ah, this could be caused by missing installation step.  Try 'sudo make
install' first.

BTW I'm using the latest GForth from CVS.  Try

  cvs -d :pserver:anonymous@c1.complang.tuwien.ac.at:/nfs/unsafe/cvs-repository/src-master co gforth
  cd gforth
  ./BUILD-FROM-SCRATCH
  sudo make install
  ./build-ec 8086

cheers,

David
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Gforth-EC, the underappreciated embedded Forth David Kuehling <dvdkhlng@gmx.de> - 2012-02-06 23:07 +0100
  Re: Gforth-EC, the underappreciated embedded Forth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-02-07 16:07 +0000
    Re: Gforth-EC, the underappreciated embedded Forth BruceMcF <agila61@netscape.net> - 2012-02-07 07:51 -0800
    Re: Gforth-EC, the underappreciated embedded Forth David Kuehling <dvdkhlng@gmx.de> - 2012-02-07 16:55 +0100
  Re: Gforth-EC, the underappreciated embedded Forth Coos Haak <chforth@hccnet.nl> - 2012-02-08 01:30 +0100
    Re: Gforth-EC, the underappreciated embedded Forth David Kuehling <dvdkhlng@gmx.de> - 2012-02-08 09:52 +0100
    Re: Gforth-EC, the underappreciated embedded Forth David Kuehling <dvdkhlng@gmx.de> - 2012-02-10 01:45 +0100

csiph-web