Monday, February 20, 2012

Android Build System, NDK Toolchain built for arm

Hi,

Just a short status,

This weekend I got the android toolchain built in the ubuntu chroot env against the headers and libs of itself :D
It was late yesterday and I just wanted to relax a bit before a new working week starts, so I still need to see which linker loader it tries to use at execution. This decides if I need to build it again using the correct linker or if it's ok how it is now. In each case it is possible now to build things for android in android. If with chroot or not we will see.

Here are the instructions:

  1. Install a chroot environment wich is able to build automake sources
  2. Create a working directory inside this chroot env
  3. Put this  http://pastebin.com/tk8LGFZ8 with the filename "get" into this working dir
  4. Put this   http://pastebin.com/GjpgtiR2 with the filename "stage1" into this working dir
  5. Chmod both with 0755
  6. extract the android ndk into this working dir
  7. run ./get
  8. run ./stage1
  9. Look into workingdir/out/stage1, there should be all like it would be installed in android (/data/local/)
  10. Play with it :D



Kind regards
Ralph

No comments:

Post a Comment