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: Tue, 30 Nov 1999 23:37:00 -0000 Message-ID: <4.2.0.58.19991109063714.00c7f100@garfield.dis.com> References: <4.2.0.58.19991108193122.00c7c220@garfield.dis.com> <2799.942119599@upchuck> X-SW-Source: 1999-11n/msg00237.html Message-ID: <19991130233700.eyj_cdV5Ao8gv2isTfWz2j_Xtc2usKfe-wOACc7MXvI@z> At 08:53 PM 11/8/99 -0700, Jeffrey A Law wrote: >Because if someone replaced the library, then all the applications linked >against the library would have to be re-linked just in case the list of >ctors/dtors changed. Hmmm ... that's a bit different than MPE since the "final link" is really at load time. We never need to link against a shared library before using it for precisely the reason above: a version can be updated without requiring compiles or links elsewhere. >So instead collect builds and exports a single constructor function for the >entire library. *that* function should be added to he ctor/dtor list for >the main program. Aha. Then that's what is failing, but I don't see where. Back to the drawing board. (One of these days I'm going to have to get gdb ported :-/) Thanks. -- Mark Klein DIS International, Ltd. http://www.dis.com 415-892-8400 PGP Public Key Available