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

Re: $^O for Android

Thread Previous | Thread Next
Brian Fraser
January 13, 2014 10:17
Re: $^O for Android
Message ID:
On Mon, Jan 13, 2014 at 7:10 AM, Piotr Roszatycki <> wrote:

> 2014/1/13 Brian Fraser <>:
> >
> >
> > 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

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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About