develooper Front page | perl.perl5.porters | Postings from January 2014

Re: $^O for Android

Thread Previous | Thread Next
From:
Brian Fraser
Date:
January 13, 2014 10:17
Subject:
Re: $^O for Android
Message ID:
CA+nL+nabGfr-O7KrMiYHR4ELK74E29t5sOo3iRsB7dzj6i8J1A@mail.gmail.com
On Mon, Jan 13, 2014 at 7:10 AM, Piotr Roszatycki <
piotr.roszatycki@gmail.com> wrote:

> 2014/1/13 Brian Fraser <fraserbn@gmail.com>:
> >
> https://github.com/Hugmeir/utf8mess/commit/d15bf0fd4833a3cd5a65675e82febc7104c99da9
> >
> > That branch now also supports native builds:
> >
> > Apparently the toolchain provided by CCtools doesn't have nm, ar or
> ranlib,
> > so -Uusenm and -Duseshrplib are mandatory. Also, because of the lack of
> ar,
> > SDBM_File won't build, so we have to skip it. I'm not sure if the
> -Alibpth
> > bit is necessary, but the native gcc doesn't have those by default and I
> > think it might cause issues detecting libc and libm.
>
> nm, ar and ranlib are available. You need to install full binutils
> add-one (by default only binutils-compact is installed).
>

No can do. CCtools refuses to work on ouya after the first install.


>
> BTW, did you changed the $^O back to 'android'? I mean this commit
>
> https://github.com/Hugmeir/utf8mess/commit/e0d6caa04faa4ebdae639e1363f0d08eaec5ee4e


Yes, but only after Configure is done. It's still a good idea to use $^O =~
/android/ -- there are other cross builds of android on the wild that use
the linux-androideabi combo.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About