[Aboriginal] Using native-build.sh for An Android native C compiler
Earlence Fernandes
earlenceferns at gmail.com
Sat Jul 16 23:46:20 PDT 2011
Yes, thanks, you have been very helpful.
I was able to get it working by using a hack where I got the address of the
function from libc.so from another cross-compiled program.
However, if I have to make this more stable, I will have to see whats going
wrong with dlopen.
-Earlence
On Sun, Jul 17, 2011 at 2:34 AM, Rob Landley <rob at landley.net> wrote:
> On 07/16/2011 02:16 PM, Earlence Fernandes wrote:
> > note that I modify PATH and LD_LIBRARY_PATH to _include_ the bin/ and
> > lib/ of the native compiler.
> > otherwise, the executable does not run.
> > and I specify an absolute path in dlopen, so I dont see how it can get
> > confused.
> >
> > -Earlence
>
> You have the source to uClibc, you could always read the dlopen source
> and see what it's doing. (That's what I'd do if I had a test
> environment for this...)
>
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/aboriginal-landley.net/attachments/20110717/f3a43f79/attachment-0002.htm>
More information about the Aboriginal
mailing list