This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Use +z or +Z to recompile...
- From: Jeff Law <law at porcupine dot cygnus dot com>
- To: "Venkatakrishnan, V" <v dot venkatakrishnan at channels dot usa dot xerox dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 21 Oct 2002 12:13:14 -0600
- Subject: Re: Use +z or +Z to recompile...
- Reply-to: law at redhat dot com
In message <8229C4577A00D511ABC00090277A45A0012361B3@us0111-ch-ms1.sdi.xcdg.xer
ox.com>, "Venkatakrishnan, V" writes:
>Ah I see, now that I am using it during linking as well it worked, thanks
>Jeff :).
>But how come it wasn't sufficient to use it during compile only, why
>explicitly at link as well??
Because code is also generated at link time to handle static constructors
and destructors.
jeff