I am learning Anroid development, trying to write native C program. I am using code sourcery g++ lite to compile and link my program, When I tried to link my program dynamically, I met a problem.
I've pulled /system/lib from android emulator to my PC c:\androidlib when link , I need to pass this path to -L and -rpath-link option. -L "c:\androidlib" works. but -rpath-link "c:\androidlib" didn't work!! I've tried in many forms such as: -rpath-link "c:/androidlib" -rpath-link "\c\androidlib" -rpath-link \driver\c\androidlib" None of above makes the linker know the correct path. How could I solve this problem?? Any suggestion would be greatly appreciated(aside using -static to avoid dynamic link). -- 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 To unsubscribe, reply using "remove me" as the subject.

