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


Groups > comp.lang.forth > #30019

Re: gforth on 64bit

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: gforth on 64bit
Date 2014-04-30 23:46 +0200
Organization 1&1 Internet AG
Message-ID <ljrr03$rjm$1@online.de> (permalink)
References <7zlhumd8wd.fsf@example.com> <2014Apr30.201921@mips.complang.tuwien.ac.at> <7zha5ad30g.fsf@example.com>

Show all headers | View raw


David Hume wrote:

> anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> 
>>
>> Your program may have some 32-bit dependency, like "4 +" instead of
>> "cell+".  You could fix that.
>>
> 
> Thanks. I couldn't get the -m32 to work, so fixed the program. I had an
> ARRAY of 4*n, and then GET and PUT 4*index, so I changed these to a
> constant WORD-SIZE of 8. This works with swiftforth or gforth now,
> although gforth is rather slow.

Use gforth-fast for speed.  And please use CELLS for the word-size, not a 
constant word-size...

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

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


Thread

gforth on 64bit David Hume <David.Hume@example.com> - 2014-04-30 18:28 +0100
  Re: gforth on 64bit anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-04-30 18:19 +0000
    Re: gforth on 64bit David Hume <David.Hume@example.com> - 2014-04-30 20:35 +0100
      Re: gforth on 64bit albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-04-30 20:22 +0000
      Re: gforth on 64bit Bernd Paysan <bernd.paysan@gmx.de> - 2014-04-30 23:46 +0200
      Re: gforth on 64bit anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-05-01 15:29 +0000

csiph-web