Dynamic Loading

Leon ljbrits at fastmail.fm
Fri Sep 17 10:39:28 CEST 2004


Hi all,

I have a library that I load dynamically which uses  
__attribute__((constructor)) and __attribute__((destructor)).
I compile the library with MODE=l4env which has compile option  
"-nostdlib". This disables the attributes and thus no initial and final  
code being executed when the library is loaded and unloaded. In fact all  
MODES has this option.

Q1: Any suggestions how-to enable the con/destructor while keeping the  
MODE=l4env setting?

Thanks
Leon




More information about the l4-hackers mailing list