[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Source changes as a result of working to port Octave for Android
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Source changes as a result of working to port Octave for Android |
Date: |
Sun, 14 Oct 2012 09:06:39 -0400 |
On 14 October 2012 02:13, Corbin Champion <address@hidden> wrote:
> All source code modifications necessary, so far, to port Octave to Android
> have been related to Android not being a "normal" distribution of Linux.
I would say the trouble is more that Android isn't a distribution of
GNU, unlike Debian, Slackware, or Red Hat. ;-)
> 1) Android doesn't have /tmp. To this end, could we have get_P_tmpdir()
> (found within src/sysdep.cc) use the environment variable TMPDIR if present,
> like what is done by tmpnam (eventually calls, liboctave/tempname.c)?
Windows share this problem. What's done there?
> 2) Android doesn't have sh found at /bin/sh , instead it is at
> /system/bin/sh (not my fault). This is a problem in toplev.cc and in
> oct-procbuf.cc. Can this be changed to being dependent on a ifdef based on
> some variable, such that it defaults to /bin/sh if not already defined?
Sure, what's your specific suggestion? Have you already written this patch?
- Jordi G. H.