From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Roger Wells" To: Subject: shared library, init Date: Wed, 19 Sep 2001 05:04:00 -0000 Message-id: <00d301c14103$3c921b00$f05a798b@mtg.saic.com> X-SW-Source: 2001-09/msg00756.html When I use the linker flag, -Wl,-init, the linker complains that my _init() conflicts with one in crti.o. When I give the -init flag the name of a function that I supply it is ignored. Can someone advise me of the correct syntax to establish a shared library initialization (& termination) function. Roger Wells, P.E. SAIC 221 Third St Newport, RI 02840 401-847-4210 (voice) 401-849-1585 (fax) roger@mtg.saic.com