Support for OSX as a development platform exists,
http://developer.android.com/sdk/ndk/index.html
but is somewhat spotty, except for some links I found:
http://droidhacks.com/2009/05/compiling-c-code-for-android-using-os-x/
and
http://www.justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/
The agcc script expects to run on a linux box, and does use GCC 4.2.1, even though the Android NDK already contains 4.4.0.
I modified the agcc script to make it work for the mac (OSX) and to use gcc.4.4.0 (well arm-eabi-gcc-4.4.0). The modified script is available at:
agcc for the NDK arm-eabi 4.4.0 on OSX
http://rapidshare.com/files/421366660/agcc.html
Someone else may find this useful as well. Please post comments or updates.
No comments:
Post a Comment