[Gambas-user] gambas for embedded system

Rob Kudla sourceforge-raindog2 at ...94...
Mon Jan 30 16:58:44 CET 2006


On Mon January 30 2006 03:01, Matthias Laur wrote:
> Has somebody try to use gambas on small hardware? Should there
> be problems?

I got some pre-1.0 versions to run on a machine with a P166 and 
32MB of RAM, but since it was painful to even run IceWM on that 
machine, let alone a Qt application, I wouldn't recommend it.  
Never tried going smaller for non-graphical apps.

> Another question is, how can I compile only the gambas runtime
> with net and sqlite bindings from the source? There will be no
> X on the system.

In the root of the Gambas source tree, type this:

./configure --help

At the end you'll have a big list of --enable-this and --enable 
that.  When you're ready to build Gambas, add those to 
your ./configure command line but change enable to disable, like 
this:

./configure --disable-qt --disable-kde ...

etc.  Then do a make as usual, and it should go a lot faster and 
you should end up with just the components you need.

I just did this, and while it did go a lot faster, it seems like 
almost all the components' .so files were still built.  However, 
"ldd main/gbc/gbc2" and "ldd main/gbx/gbx2" don't show any 
troublesome dependencies.

Rob




More information about the User mailing list