I have finally got around to trying to build the current stackless on
OS/2, with the EMX environment.
The attached patch was needed to get the stackless module to build (I
built it in rather than as a dynload, for simplicity). The #ifdef was
copied from the MSVC file. This patch isn't necessary on FreeBSD, but
this may be due to the different build setups. I'll test the patch on
FreeBSD to make sure its harmless there (but not tonight... err this
morning).
The stackless interpreter passes all the tests the standard interpreter
passes, with a bizarre failure in test_socket which I believe to be an EMX
"problem" - the test passes standalone, but not from the regrtest.py
harness...
Does anyone have a test for the stackless module?
Cheers.
--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au | Snail: PO Box 370
andymac at pcug.org.au | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
-------------- next part --------------
*** switch_x86_unix.h.orig Fri Jun 21 00:28:42 2002
--- switch_x86_unix.h Fri Jun 21 00:16:30 2002
***************
*** 8,13 ****
--- 8,15 ----
* Ported from i386.
*/
+ #ifdef SLP_EVAL
+
static int
slp_switch(void)
{
***************
*** 24,26 ****
--- 26,31 ----
SLP_RESTORE_STATE();
__asm__ volatile ("" : : : "ebx", "esi", "edi");
}
+
+ #endif
+