Okay, I have reverted most of my changes and just left the minimal amount required to keep Gambit working on the DS. The repl is still broken, but it's very strange.
I'm wondering if this is some form of endianness/type size failure due to the cross compile:
Gambit Version 4.0 beta 20
0
3
1
2
2
1
3
0
4
7
5
6
6
5
7
4
8
*** ERROR IN (console)@9.1 -- Unbound variable: 8 1>
Any ideas?
Thanks, -a