Thanks for the info on using the '-init' option for 'ld', it works fine. I have a shared library used by many programs. When that 'init' program runs, how can I tell which program called the library?