When debugging a link error (undefined reference to _dso_handle
) using the Android x86 toolchain, I noticed it's statically linking crtbegin_dynamic.o
. What is the purpose of this file? There is another similar crtbegin.o
in the toolchain install directory that contains the missing symbol (_dso_handle). What is the difference between crtbegin.o and crtbegin_dynamic.o?
views:
231answers:
1
A:
I think they relate to dynamic libraries (shared objects) and executables, but not quite sure. Hope this provides you a lead.
Alex B.
2010-05-05 01:12:42