compiling to QNX6

Patrick Tullmann kaffe@rufus.w3.org
Fri, 14 Sep 2001 10:32:03 -0600


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@cs.utah.edu
      That which does not kill you just didn't try hard enough.