Aimee Hesterman
2022-11-09 18:51:35 UTC
Hi,
I just downloaded pForth v28 from Phil Burke's GitHub site and it compiled just fine using the UNIX makefile on Ubuntu. By default it somehow knew I was on a 64-bit machine so created a 64-bit version of pForth with a cell size of 8. I would like a cell size of 4 bytes, however, like on all the other Forths I have used.
It appears that there is a variable called 'cell_t' in the source which indicates the size of everything but cannot find any way to set that to 4. I'm not a C-programmer (or much of a programmer at all, really) so don't understand these things.
Does anyone know how to set this up so that I can get a cell size of 4 bytes or compile an i386 version of pForth on a 64-bit machine? Thanks for your help.
Nathan
I just downloaded pForth v28 from Phil Burke's GitHub site and it compiled just fine using the UNIX makefile on Ubuntu. By default it somehow knew I was on a 64-bit machine so created a 64-bit version of pForth with a cell size of 8. I would like a cell size of 4 bytes, however, like on all the other Forths I have used.
It appears that there is a variable called 'cell_t' in the source which indicates the size of everything but cannot find any way to set that to 4. I'm not a C-programmer (or much of a programmer at all, really) so don't understand these things.
Does anyone know how to set this up so that I can get a cell size of 4 bytes or compile an i386 version of pForth on a 64-bit machine? Thanks for your help.
Nathan