From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Klein To: law@cygnus.com Cc: gcc@gcc.gnu.org Subject: Re: MPE Port Date: Thu, 30 Sep 1999 18:02:00 -0000 Message-ID: <4.1.19990915082715.00c166b0@garfield.dis.com> References: <4.1.19990908195434.00b01950@garfield.dis.com> <2662.937215511@upchuck.cygnus.com> X-SW-Source: 1999-09n/msg00625.html Message-ID: <19990930180200.X2xijAFN2v6dyqjNj_xiybcOhpwJ0JyKBuGhGNhwNw0@z> At 03:38 AM 9/13/99 -0600, Jeffrey A Law wrote: >You have to add it (either the .o or .a containing your constructor) to the >program's link line. > >collect is supposed to look at all the files on the link line for constructors >and add them to th ctor/dtor list. OK. I'll try it as a separate module ... my first attempt embedded it into libgcc.a as a LIB2FUNCS_EXTRA. -- Mark Klein DIS International, Ltd. http://www.dis.com 415-892-8400 PGP Public Key Available