This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug report: objc classes linked in wrong order
- To: law at cygnus dot com
- Subject: Re: Bug report: objc classes linked in wrong order
- From: nicola at brainstorm dot co dot uk
- Date: Tue, 16 May 2000 13:05:57 +0100 (BST)
- cc: hjl at lucon dot org, egcs at egcs dot cygnus dot com, ovidiu at cup dot hp dot com
> Is the root of the problem related to the order in which ctors are
> fired?
As far as I know, it should be.
> If so, it might be possible to use constructor priorities to
> arrange for the libobjc version to have the lowest priority. [ Maybe,
> I'm not intimately familiar with the ctor/dtor priority code either.
I did not even know that 'constructor priorities' exist - I think this
would certainly be the best solution. If nobody else wants to look at it,
could you give me a reference/hint about where to look for info about the
constructor priorities (source code is ok, I just can't seem to find where
is it) ?
Thank you very much for the hint - this looks like it would be a great way
of putting things in order.