coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Nicolas Pelletier <nicolas.pelletier3 AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Coq on Android?
- Date: Mon, 16 Oct 2017 19:31:00 +0900
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=nicolas.pelletier3 AT gmail.com; spf=Pass smtp.mailfrom=nicolas.pelletier3 AT gmail.com; spf=None smtp.helo=postmaster AT mail-vk0-f46.google.com
- Ironport-phdr: 9a23:i5A1iB/YPFgMq/9uRHKM819IXTAuvvDOBiVQ1KB+1eMcTK2v8tzYMVDF4r011RmSAtWdtqoMotGVmp6jcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS46tL2HV93a19HsZHgj1HQtzPOX8XIDI3Oqt0OXn3ZzYZAFBn3KFbLd2IQm3oB+Z4s8XioxmI7130hbNpnZUeulMnktnIFuSm1D34cLmr80ryDhZp/90r50Iaq79ZaltFbE=
Hello Coq users,
I am trying to get Coq to run on my tablet (Android 7.1.1 on arm aarch64), and running into some difficulties. Here is what I did so far:
1. installed termux from the Google store. The more advanced Linux solutions (such as Debian-noroot failed to boot)
2. installed OCaml 4.04 + termux patches following the instsructions at http://ygrek.org.ua/p/ocaml-termux.html
3. installed findlib with the opam from step 2
4. installed camlp5 from source, as there is no termux package for it
5. trying to compile Coq 8.7-beta2 from source, I get the following error many times at link time:
/data/data/com.termux/files/usr/bin/ld: plugins/ltac/ltac_plugin.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `camlLtac_plugin__G_ltac' which may bind externally can not be used when making a shared object; recompile with -fPIC
I tried adding -fPIC to CFLAGS and -ccopt -fPIC to OCAMLOPT in the Makefiles and scripts defining these and running make again; I got the same errors.
So I am left wondering: is there another file to modify to activate these options? Is the Makefile regenerated at each compilation (overwriting my modifications)? Is PIC compilation impossible for some deeper reason? And if so, is it possible to compile statically to avoid the issue?
Thanks in advance for any help on this matter.
-- Nicolas
- [Coq-Club] Coq on Android?, Nicolas Pelletier, 10/16/2017
- Re: [Coq-Club] Coq on Android?, Abhishek Anand, 10/16/2017
- Message not available
- Re: [Coq-Club] Coq on Android?, Kyle Stemen, 10/16/2017
- Message not available
- Re: [Coq-Club] Coq on Android?, Nicolas Pelletier, 10/17/2017
- Re: [Coq-Club] Coq on Android?, Daniel Galvez, 10/17/2017
- Re: [Coq-Club] Coq on Android?, Pierre Courtieu, 10/17/2017
- Re: [Coq-Club] Coq on Android?, Vadim Zaliva, 10/17/2017
- Re: [Coq-Club] Coq on Android?, Abhishek Anand, 10/18/2017
- Re: [Coq-Club] Coq on Android?, Pierre Courtieu, 10/18/2017
- Re: [Coq-Club] Coq on Android?, Abhishek Anand, 10/19/2017
- Re: [Coq-Club] Coq on Android?, Pierre Courtieu, 10/18/2017
- Re: [Coq-Club] Coq on Android?, Nicolas Pelletier, 10/18/2017
- Re: [Coq-Club] Coq on Android?, Pierre Courtieu, 10/17/2017
- Re: [Coq-Club] Coq on Android?, Daniel Galvez, 10/17/2017
- Re: [Coq-Club] Coq on Android?, Abhishek Anand, 10/16/2017
Archive powered by MHonArc 2.6.18.