Hello,

I'm porting a native engine written in FreePascal.

I've got my crosscompiler up and running and it's compiles simple
hello world programs. However when i attempt to ccompile the engine it
gives me linking errors


/usr/local/bin/arm-linux-ld: cannot find -ldl
/usr/local/bin/arm-linux-ld: cannot find -lpthread
/usr/local/bin/arm-linux-ld: cannot find -lc
hwLibrary.pas(33) Error: Error while linking
hwLibrary.pas(33) Fatal: There were 1 errors compiling module,
stopping
Fatal: Compilation aborted


Now i know that the pthread is implemented differently, being
implemented directly into bionic. However how do i link it correctly?
I've tried using these linker options: --whole-archive -lpthread but
it just gives me the same error. How can i fix this?

Also what about the -ldl and -lc? What kind of libraries are these?
and what should i link them to?

Thanks in advance for any help,

Richard

-- 
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