compiling to QNX6

Patrick Tullmann tullmann at cs.utah.edu
Fri Sep 14 09:32:03 PDT 2001


Sanjiv Kumar Gupta wrote:
> the file config/i386/threads.h defines SP_OFFSET as 4. is it right
> for QNX 6 also?

Look at (and compile) developers/sp_offset.c.  It tries to determine
the correct SP_OFFSET for a platform.   I believe it has guessed wrong
in the past, though, so finding definitive QNX documentation is
probably the best course.

Also, you might configure with --enable-debug, and run with '-vmdebug
ALL' to get a trace of what's going on inside the VM.

-Pat

----- ----- ---- ---  ---  --   -    -      -         -               -
Pat Tullmann                                       tullmann at cs.utah.edu
      That which does not kill you just didn't try hard enough.


More information about the kaffe mailing list