Thanks a lot. I think this problem maybe could not be solved. I just use relative path to do the link.
2010/4/16 andrej sarkic <andrej.sar...@gmail.com> > You should read this first: > > http://developer.android.com/sdk/ndk/index.html > > On Apr 15, 9:45 pm, Ke Wu <kerl....@gmail.com> wrote: > > Hi all, > > I got a new clue, in the rpath-link option, could be several paths, and > use > > colon to separate these paths. > > So, if I want to use windows driver path, I must find out a way to > transfer > > colon, But HOW COULD I ?? > > > > Any suggestion would be greatly appreciated!!!!! Thanks in advance!!!! > > GOD SAVE ME! T_T > > > > 2010/4/15 KerlW <kerl....@gmail.com> > > > > > > > > > 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 android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group athttp:// > groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en