This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Shared library initializers


When building a shared library on  HP-UX using 'ld' and the '+I' option,
I can specify an initializer function to run when that library is
called.  How do I the same thing using 'gcc' and/or 'ld' under LINUX?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]