#398 Build on Android/Bionic

RELEASE_1_0
assigned
None
libelftc
minor
enhancement
2012-08-01
2012-07-31
No

Currently elftoolchain fails to build on Android, which is Linux but uses its own libc (Bionic) instead of glibc. The attached patch adds Bionic support to common/_elftc.h.

1 Attachments

Discussion

  • Philip Taylor

    Philip Taylor - 2012-07-31
     
  • Joseph Koshy

    Joseph Koshy - 2012-08-01
    • owner set to jkoshy
    • status changed from new to assigned

    Thank you for sending in a patch.

    Were you able to build and run the Elftoolchain test suite too, on Android?

     
  • Philip Taylor

    Philip Taylor - 2012-08-01

    I haven't tried that - I guess it would require a significant amount of effort to set up cross-compilation and to make TET run the test executables on the Android device, so I've not looked into it any further.

    For my current needs, I'm basically only using the frame-unwinding parts of libelf+libdwarf (no tools or tests or docs), and I'm not using elftoolchain's build system (I'm just adding the list of .c files to an existing Android build system). So I'm not personally interested in 'proper' Android support - just enough to get that small subset working.

     

Log in to post a comment.