[Stackless] cross compile stackless from x86 to mipsel

Luca Dionisi luca.dionisi at gmail.com
Wed Feb 9 13:19:31 CET 2011

I think I made some progress.

I uncommented the lines which did differ from the pypy original
contribution of Seufer.
It was not compiling, with an error telling "error: $fp cannot be used
in asm here"
I found that removing a register ($30) from REGS_TO_SAVE was removing the error.
I do not understand what I did. But now the lines are uncommented and
it compiles.

With these informations in mind, I made another attempt.
I see alot of warnings and errors, but something gets produced and
installed in my target directory.
I have yet to test it in the router. I will be able to do this this afternoon.

Anyway, I would appreciate any sort of hints that you may think about.
I attach (following mails) the output of configure/make/make install

Please note that the line telling
  #warning 'orig slp_switch mips non-64'
indicates that the file Stackless/platf/switch_mips_unix.h is processed
while the file Stackless/platf/slp_switch_stack.h is not
and that my arch is not 64 bit.

Thanks and regards

More information about the Stackless mailing list