This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C clients calling into C++ libraries (startup/shutdown code issues)
- To: Paul Duffy <paduffy at cisco dot com>
- Subject: Re: C clients calling into C++ libraries (startup/shutdown code issues)
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 16 Aug 2000 14:36:40 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <4.2.0.58.20000815145415.00ac4610@funnel.cisco.com>
On Aug 15, 2000, Paul Duffy <paduffy@cisco.com> wrote:
> How do I force the C++ startup/shutdown code execution for the C++ shared
> library (to execute constructors on global objects, etc) ?
Use GCC for linking. The start-up code is the same for C and C++.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me