[gambit-list] Gambit for mobile?

Andrew Pennebaker andrew.pennebaker at gmail.com
Tue Feb 12 13:18:40 EST 2013

> But the gist of it is actually quite simple.  Take all of the .c and .h
files from the lib/ and include/ directories and compile them with the
-D___LIBRARY and -D___PRIMAL flags.  Then, compile you app.c and app_.c
(generated using "gsc -link app.scm") and link all of the .o files
together.  The file "misc/vc2008.bat" is a shell script showing the steps
(when using Microsoft Visual C++, but for other C compilers the process is
simular).  On iOS, android, etc you'll need to write some FFI interface to
call out to the mobile device's libraries.

Yeah, no. I'd like to be able to write hello-world.scm and call something
like gambit-android to generate an APK, gambit-windows-phone to generate an
XAP, and so on.

I'm glad to see continued work on mobile support for Gambit. It would be
awesome if ordinary Gambit programmers could write mobile apps without any
extra configuration.


Andrew Pennebaker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130212/a6c712e6/attachment.htm>

More information about the Gambit-list mailing list