On 2012-04-09 23:58, Ellery Newcomer wrote:
On 04/09/2012 03:31 PM, "Timo Westkämper" <timo.westkam...@gmail.com>"
wrote:


For some reasons, the _init and _fini parts don't yet work properly.


what's wrong with them? if it is a link problem, use gcc -nostartfiles.
Well, I'm doing that, and it compiles and rt_init is called, but doesn't
seem to be calling the module constructors, so maybe that is a very bad
idea.

The module info (contains the module constructors) need to be setup differently when linking as a shared library.

--
/Jacob Carlborg

Reply via email to