This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: crt{i,n}.o
> Date: Wed, 25 Oct 2000 00:23:48 -0500
> From: Bill Wendling <wendling@ncsa.uiuc.edu>
> Cc: obrien@FreeBSD.org, gcc@gcc.gnu.org
> Content-Disposition: inline
> User-Agent: Mutt/1.2i
>
> This brings my (naive) question: What are the crt*.o files for?
Constructors and destructors (for crt[in].o). They work together with
gcc to create a single routine that runs all the initialisation and
finalisation routines for shared objects.
--
- Geoffrey Keating <geoffk@cygnus.com>