title: x86 Forth implementation doesn't run
body: <p>I'm trying to run <a href="http://rwmj.wordpress.com/2010/08/07/jonesforth-git-repository/" rel="nofollow noreferrer">JonesForth</a> (Git repository: git://git.annexia.org/git/jonesforth.git) on a 64-bit Linux box. Compilation is as mentioned in the tutorial, is used in the Makefile, and works fine:</p>
  <pre><code>gcc -m32 -nostdlib -static -Wl,-Ttext,0  -o jonesforth jonesforth.S
  </code></pre>
  <p>But I can't run anything:</p>
  <pre><code>➜  jonesforth git:(master) ✗ cat pgm.f | ./jonesforth
  [1]    16997 done       cat pgm.f |
         16998 killed     ./jonesforth
  ➜  jonesforth git:(master) ✗ ./jonesforth
  [1]    17006 killed     ./jonesforth
  ➜  jonesforth git:(master) ✗ echo $?
  137
  </code></pre>
  <p>Exit code 137 looks like SIGKILL, but other than that, I have no idea what's going on. I tried to see if anything goes wrong in execution, but unfortunately I can't even use <a href="http://en.wikipedia.org/wiki/GNU_Debugger" rel="nofollow noreferrer">GDB</a> on that program (I'm first compiling it with <code>-g</code>):</p>
  <pre><code>➜  jonesforth git:(master) ✗ gdb jonesforth
  ...
  (gdb) run
  Starting program: /home/omer/opt/jonesforth/jonesforth
  During startup program terminated with signal SIGKILL, Killed.
  </code></pre>
  <p>What's going wrong?</p>