Sat Jul 11 18:10:36 CEST 2009

bootstrapping scsh with qemu-mipsel

So, let's try it manually.  Is there a way to bypass the following:

checking link with -rdynamic... configure: error: cannot run test program while cross compiling

Simply bypassing the check in ./configure makes it finish.  Let's run

In build/build-usual-image I prefix the vm invocation:

- ./$vm -o ./$vm -i $initial batch <<EOF
+ ../mipsel ./$vm -o ./$vm -i $initial batch <<EOF

Hmm...  This gets pretty hairy:

tom@zni:/opt/xc/openwrt/scsh-0.6.7$ make
./build/build-usual-image . "./scheme" 'scsh.image' './scshvm' \
Exception: 3
make: *** [scsh.image] Error 1

Ok, it doesn't even build on amd64 nor in the 32bit chroot...
Probably needs some old gcc..  Well, forget it then.