This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

shared library, init


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]