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


Groups > comp.lang.forth > #26381

Re: problems with jonesforth

From "Rod Pemberton" <dont_use_email@nohavenotit.com>
Newsgroups comp.lang.forth
Subject Re: problems with jonesforth
Date 2013-10-10 17:54 -0400
Organization Aioe.org NNTP Server
Message-ID <op.w4rdtatc0e5s1z@localhost> (permalink)
References <5255345b$0$603$e4fe514c@dreader34.news.xs4all.nl>

Show all headers | View raw


On Wed, 09 Oct 2013 06:47:55 -0400, Albert van der Horst  
<albert@spenarnc.xs4all.nl> wrote:
> On a 64 bit Debian linux system:

> A straightforward build using the prescribed
>         gcc -m32 -nostdlib -static -Wl,-Ttext,0 -Wl,--build-id=none -o  
> jonesforth jonesforth.S
> results in an unusable system:
>
> albert@cherry:~/PROJECT/albertjones$ jonesforth
> killed
>
> An improvement is to leave out the requirement to start the text segment  
> at address 0:
>         gcc -m32 -nostdlib -static -Wl,--build-id=none -o jonesforth  
> jonesforth.S
>
> A startup using
>
>     cat jonesforth.f - | jonesforth
>

Well, since you said it's not a processor size mismatch, I decided
to give it a try.

I downloaded version 1.47 of jonesforth.s and jonesforth.f.
I used the exact gcc line you posted above to compile.
I had to use a slight variation of your 'cat' line:

  cat jonesforth.f - | ./jonesforth

It works.  '3 .' prints 3 .  There is no -1 CELLS message.  WORDS
works.  QUIT had to be used to exit instead of BYE ...  Lowercase
'bye' works to exit also, although uppercase 'BYE' is listed by
WORDS.  Uppercase 'BYE' doesn't exit.

This was on a 64-bit Vector Linux (VLocity) in Xfce's Terminal
Emulator.

Version 1.47 is available at Richard Jones' GIT repository:
http://rwmj.wordpress.com/2010/08/07/jonesforth-git-repository/

I followed the first link in the blog to git.annexia.org,
then "version 47", then "tree", then "raw" options to get code
for jonesforth.s and jonesforth.f.

Unless your version is out of date, I doubt that was of much help.

I know there were some patches and fixes for Jonesforth posted
to c.l.f and elsewhere.  Could one of those be the problem?


Rod Pemberton

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


Thread

problems with jonesforth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-10-09 10:47 +0000
  Re: problems with jonesforth "Rod Pemberton" <dont_use_email@nohavenotit.com> - 2013-10-09 13:34 -0400
    Re: problems with jonesforth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-10-09 20:28 +0000
  Re: problems with jonesforth "Rod Pemberton" <dont_use_email@nohavenotit.com> - 2013-10-10 17:54 -0400
    Re: problems with jonesforth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-10-10 23:42 +0000
      Re: problems with jonesforth "Rod Pemberton" <dont_use_email@nohavenotit.com> - 2013-10-10 22:24 -0400

csiph-web