Jason Woofenden wrote:
> 
> I'm trying to get the ubuntu team to package gforth with ffcall
> support, and two sponsors said that they had build errors on amd64.

Ok, I have tried to build Gforth with ffcall on AMD64 and found build
errors that affect all targets with buggy long longs (i.e., all 64-bit
targets and PowerPCs).  The fix is to patch and build as follows:

wget 
http://www.complang.tuwien.ac.at/forth/gforth/Patches/0.6.2-ffcall-64bit.diff &&
patch -p0 <0.6.2-ffcall-64bit.diff &&
sleep 1 &&
touch engine/*.i kernel/aliases.fs kernel/prim.fs &&
configure &&
make

Interestingly, this bug has shown up before and was described in
<http://www.complang.tuwien.ac.at/forth/gforth/Known-problems.html#ffcall-buggy-ll>,
but I guess that the title was misleading (I also noticed it only
after I had fixed it and prepared the new patch:-).

- anton

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to