I am working with some large open source projects and some smaller
custom C code.  I can successfully compile and link these using the
ndk-build API even when linking against shared object files within the
Android tree.  I get functional shared object files and executables
for the Android platform.  However, it seems that when the
applications are built as stand alone (meaning outside the Android
source code tree using only ndk-build)  the stdio functions do not
operate properly.  When the same code is placed under external within
the Android source code tree and built with Android, the stdio
functions work exactly as expected.

I have tried building with ndk r4 and r6, then we tried building with
the ndk r4 from within the Android tree.

the functions in question are
   close() - hangs a process when the process is forked
   fprintf() - nothing gets written
   fopen() for write - the file does not get created as a new file

I have not tested beyond these functions.

Any insight would be greatly appreciated.

Thanks,
Adam

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to