Aggiungo alcuni messaggi comparsi nella mailing list @lists.sourceforge.net
as Linux distro can run on android,
Gambas must be work also!
may be no need to port!
i've run a very simple console program (gambas2)
on my motorola xoom, and it work! 8-)
The graphic front end of gamas2 not work on my tablet due to a bug
(in gbx_math.c pow and powl when compiled for ARM).
this bug is fixed in Gambas3 as it not use long double at all.
For running a linux distro on android someone have found the key: chroot!!!
i've used this info:
with this method, we have android and linux running at the same time over same
kernel and sharing devices.
« If Gambas 3 and component libraries could run on Android then Gambas
would become the language of choice for Android developers, hands down.
« As cyanogen (android 4) works fine on hptouchpad then gambas3 could run
on hptouchpad too !
« I tried to get Gambas 3 running on Ubuntu 12.04 LTS ARM as a chroot
image hosted by Android Linux. The auto* tools need to be built from
scratch as their not available from repositories. Qt may be a problem
and the MySQL server install is a mess.
There is progress with a X11 client for Android on Play but I don't
think it's mature enough to support Gtk or Qt.
I think this is a worthy challenge and when all the planets align,
Gambas should be a star.
« I don't understand why I had no problem with compiling Gambas on
Debian/RaspberryPI and you have problems to compile Gambas on Ubuntu
which is based on Debian. Or not?
« android is not based on Debian. It has a heavily-patched linux kernel
and that's about where the connection with linux as we know it stops.
The runtime is totally different: no standard C library, no X, etc. I
think graphics is only available through their Java-based layer
so even if you could get Gambas C++ code to compile to ARM you can't
take Qt/GTK with you: so no graphics.
Plus no package management system as we know it: so users would have
to manually download and install gambas, then download and install
I suspect the only real solution is cross-compiling: i.e, turning
Gambas code into the "dalvik" bytecode instead of gambas bytecode,
plus reimplementing all the Gambas graphics and system APIs to the
Android APIs. Doable, but a crapload of work (basically a full rewrite
I suspect it would be faster to wait for Ubuntu-based tablets and
phones which apparently are coming out "soon" :-)
« With my attempt, Android Linux was only a host for my chroot Ubuntu
12.04 LTS ARM image that I was trying to compile Gambas 3 with. X11
services were provided by a Android VNC client. I use a bluetooth mouse
and keyboard which works great with both Android and Ubuntu ARM Linux.
Here is a screen shot if your interested.