What is crtbegin.o and crtbegin_dynamic.o?

Posted by theactiveactor on Stack Overflow See other posts from Stack Overflow or by theactiveactor
Published on 2010-04-25T20:34:29Z Indexed on 2010/04/25 20:43 UTC
Read the original article Hit count: 1091

Filed under:
|
|
|

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?

© Stack Overflow or respective owner

Related posts about linux

Related posts about c