Shared library initializers

Carlo Wood carlo@alinoe.com
Thu May 3 06:53:00 GMT 2001


On Thu, May 03, 2001 at 08:54:54AM -0400, Jeff Parker wrote:
> 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?

Now that I'd like to know too!  Please CC the list :).

-- 
Carlo Wood <carlo@alinoe.com>



More information about the Gcc mailing list