[gambit-list] Compiling Gambit on Android/Termux

Abdelhakim Qbaich qbaichab at iro.umontreal.ca
Mon May 8 21:45:02 EDT 2017


Hello,

You should give a look at misc/build-gambit-android [0]. I've never
tried compiling it, but the script seems pretty straightforward.

However, you will probably need to tweak it, considering your path
issues.

[0]:
https://github.com/gambit/gambit/blob/master/misc/build-gambit-android

--
Abdelhakim Qbaich

On Mon, 8 May 2017 20:28:59 -0500
Phil Bewig <pbewig at gmail.com> wrote:

> I recently purchased an Android tablet, a Lenovo TAB2 A10; it uses a
> Qualcomm Snapdragon 210 ARM7 32-bit processor with 2GB RAM. I
> installed the Termux program from the Google Play Store, which
> provides a unix-like command-line environment with BusyBox and a host
> of programs including gcc. Termux is rather non-standard in its
> directory structure, with the root of the system
> at /data/data/com.termux/files (call that directory TERMUX) and
> high-level subdirectories $TERMUX/home for the default user u0_a111
> and $TERMUX/usr where you will find bin, etc, include, lib, libexec,
> share, src, tmp and var. All of the normal unix executables are in
> $TERMUX/usr/bin, even those that normally reside in /bin.
> 
> I would like to have a Scheme REPL on my tablet. Can Gambit Scheme be
> compiled on my machine? What configuration options will I need to
> supply? What problems should I expect? Has anybody successfully
> compiled Gambit Scheme in this environment? I've never compiled
> Gambit Scheme before, and I'm not an accomplished C programmer, so
> please keep things simple.
> 
> Here's an example of the kind of problems I expect. I downloaded
> Gambit 4.7 and did tar -zxvf. The I ran ./configure, but had an error
> because /bin/sh isn't in /bin/sh. I edited the shebang line
> on ./configure and ran it again, and got an error "cannot
> run /bin/sh ./config.sub".
> 
> I expect some pain. . . .
> 
> Many thanks,
> 
> Phil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://webmail.iro.umontreal.ca/pipermail/gambit-list/attachments/20170508/c5aaa89b/attachment-0001.bin 


More information about the Gambit-list mailing list