Messages in this thread | | | Date | Fri, 24 Aug 2012 13:30:33 +0100 | From | Alan Cox <> | Subject | Re: [PATCHv2 1/1] perf: Port to Android |
| |
On Fri, 24 Aug 2012 05:08:45 +0100 Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> On Thu, Aug 23, 2012 at 03:32:50PM -0600, David Ahern wrote: > > > Why not add support for the missing functions (on_exit, getsid, > > psignal and getline) to Bionic instead of perf? > > Many vendors need to target existing Android platforms and don't have > the luxury of waiting for code to get through Google review and then > land on devices between 6 months in the future and never. The embedded > world is dysfunctional in a whole bunch of ways.
So add a small library and link with -lstuffandroidforgot. That's basically how the FSF dealt with all the proprietary Unix library messes.
Come to think of it call the library "integrated build runtime environment" and you can like with -libre ;)
It's also going to be far more maintainable and generically useful for porting tools from GNU to 'droid userspace.
Alan
| |