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: nicola at brainstorm dot co dot uk
- Subject: Re: Bug report: objc classes linked in wrong order
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Tue, 16 May 2000 11:59:26 -0700
- CC: law at cygnus dot com, hjl at lucon dot org, egcs at egcs dot cygnus dot com, ovidiu at cup dot hp dot com
Hi Nicol
: > 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) ?
Look at the following:
gcc/invoke.texi [search for init-priority]
gcc/testsuite/g++.dg/special/*
ld/ld.texinfo [serach for 'priority']
Cheers
Nick