I decided to try out the JIT (./configure --enable-jit
--enable-gtk=no). I don't have a separate install of lightning, but
figured the included lightning would suffice.
As I am on i686 GNU/Linux, I get the i386 headers for lightning, but
get this error while making:
In file included from ../lightning/lightning.h:49,
from xlat.c:35:
../lightning/funcs.h: In function 'jit_flush_code':
../lightning/funcs.h:77: error: expected expression before 'else'
... some cascades ...
Here is the surrounding code with comments stripped:
if (page >= prev_page && page + length <= prev_page + prev_length)
return;
mprotect ((void *) page, length, PROT_READ | PROT_WRITE | PROT_EXEC);
else if (page >= prev_page && page <= prev_page + prev_length)
prev_length = page + length - prev_page;
So, where does this mprotect call fit in the scheme of things?
--
Stephen Compall
http://scompall.nocandysw.com/blog
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk