Re: Compiling on Android

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <1989114.XvxHHskXyD@omega>
Hi Jean Louis,

> Replicant is liberated Android
> system. http://replicant.us and that means that
> with the development of Replicant, we will have
> free phones very soon, as right now not every
> mobile device is supported by Replicant.

Unfortunately, I don't see Replicant, nor Free Phones, becoming mainstream
any time soon. What kinds of phones with free operating systems do exist? [1]
* Hardware built by large companies, OS provided by large companies:
  - Only Samsung with Tizen, but it is no longer being sold.
* Hardware built by large companies, OS provided by hackers:
  - Replicant. But all models after the original Galaxy S3 (from 2012)
    have a highly integrated modem chip from Qualcomm that contains a universal
    backdoor and therefore cannot be enabled in Replicant [2].
* Hardware built by small companies: does not have the integration level
  and therefore not the expected combination of weight + battery time
  that other phones have. Additionally, the UI part of the OS will be
  the major challenge.

[1] https://en.wikipedia.org/wiki/List_of_open-source_mobile_phones
[2] https://redmine.replicant.us/projects/replicant/wiki/ReplicantStatus

> I am not familiar with Android stuff, and I did
> not refer to APK if you mean to those packages for
> Android GUI.
> 
> Myself, I am using https://termux.com/ Termux on
> Android, and there are multiple building packages
> and applications already compiled.
> 
> I am using Termux over SSH and through it, I have
> access to GNU packages, and other software.

OK, but that doesn't mean building clisp "for Android". It means
building clisp for use within a specific text-mode emulation app
on Android, in a way that cannot ever be useful for creating UI apps
on Android. I won't invest time in it.

You said compiling "on Android"; technically this is correct, but
nevertheless misleading.

> Then I got stuck in various hard coded /bin/sh within
> CLISP configuration.

This platform should be similar enough to Unix systems that any
single person can do this port in a short time, with some #ifs in
the source code. Good luck!

IMO a much better starting point for doing Lisp on Android is Clojure,
because it's based on Java and therefore integrates with the UI libraries
of Android. [3][4][5]

[3] http://clojure-android.info/
[4] https://github.com/alexander-yakushev/events/blob/master/tutorial.md
[5] http://www.lambdacat.com/clojure-on-android-overview/

Bruno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.