[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] Executing code once on initialization of a .so file



Hi!

Is it possible to include code in a .so that gets executed only once on
initialization of a shared lib? If so, how can I do this (provided I use
"gcc -fPIC" to compile the stuff and "gcc -shared" to link it together).

Thanks in advance for any hints!

Greetings,

	Holger



Reply to: