I made a small Hello program and it works on armel Debian Squeeze.
What I did:
Create a small program in gamba2 on Ubuntu 11.10 (Amd64 bit)
Create a gamba2 executable from it (IDE button)
transfer the "hello.gambas" file to the Arm device
=====
user@Nokia-N800-43-7:~$ ./hello.gambas
Hello
user@Nokia-N800-43-7:~$ cat hello.gambas
#! /usr/bin/env gbr2
~?8??# Gambas Project File 2.0
# Compiled with Gambas 2.22.0
Title=hello
Startup=MMain
Version=0.0.1
====
So a simple program runs just fine
Next step, a gtk program. This segfaults with a null pointer just like gamba2:
open("/usr/lib/gambas2/gb.form.gambas", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0755, st_size=1044038, …}) = 0
mmap2(NULL, 1044038, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40fc0000
brk(0xb0000) = 0xb0000
— SIGSEGV (Segmentation fault) @ 0 (0) —
So, something goes wrong in the Form module. I filed a bug report for the
developer:
http://code.google.com/p/gamba.....ail?id=242