From: Nala Ginrut <nalaginrut@gmail.com>
To: Robert Dazi <robert.dazi@yahoo.fr>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: [ Porting Guile on Android 4.4 ]
Date: Sat, 17 Jun 2017 23:59:39 +0800 [thread overview]
Message-ID: <CAPjoZodYUyitDFPxtXciTS7HXd9S-W91AO1cVUTs3ySHFskmPw@mail.gmail.com> (raw)
In-Reply-To: <134615905.19718584.1497627856676@mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]
I'm not familiar with this porting work, so can't help more. But it's great
if I could use Guile on my phone!
Thanks for the work!
2017年6月16日 下午11:48,"Robert Dazi" <robert.dazi@yahoo.fr>写道:
> Hello,
> I tried to port Guile 2.2.1 on Android 4.4. As you might know, Android is
> not GNU/Linux and many functions (and even types such as localeconv) are
> missing or not acting as expected (either because the Linux headers have
> been ripped off or because Bionic lacks those features).
> That means the libraries needed some rewriting, and Guile too. Here some
> issues :
> - the 'configure' script generated by autoconf uses the PREFIX variable
> to find libltdl, whereas it is better to ask the user for that path.
> - Bionic doesn't implement well locales (and won't), setlocale is an
> empty function returning NULL
> - Because the encoding format is unknown, init_random raises an error,
> but init_random is called before init_throw so since the static variable
> for throwing is set to an unknown state (on my device it is set to 0), it
> leads to a segfault. (By the way, setting LC_ALL to UTF-8 fixes the
> encoding issue if init_throw called before init_random).
>
> Eventually, I've got a (seemingly working) rpl by commenting out the
> 'setlocale' line within top-repl.scm.
>
> Thanksfully,
>
[-- Attachment #2: Type: text/html, Size: 2659 bytes --]
prev parent reply other threads:[~2017-06-17 15:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <134615905.19718584.1497627856676.ref@mail.yahoo.com>
2017-06-16 15:44 ` [ Porting Guile on Android 4.4 ] Robert Dazi
2017-06-17 15:33 ` Christopher Allan Webber
2017-06-17 15:59 ` Nala Ginrut [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPjoZodYUyitDFPxtXciTS7HXd9S-W91AO1cVUTs3ySHFskmPw@mail.gmail.com \
--to=nalaginrut@gmail.com \
--cc=guile-devel@gnu.org \
--cc=robert.dazi@yahoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).