shared library, init

Roger Wells ROGER.K.WELLS@saic.com
Wed Sep 19 05:04:00 GMT 2001


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




More information about the Gcc mailing list