This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: #pragma startup doesn't work on GCC
- From: Ian Lance Taylor <iant at google dot com>
- To: Debarshi Sanyal <debarshisanyal at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 22 Jul 2009 23:46:56 -0700
- Subject: Re: #pragma startup doesn't work on GCC
- References: <13c56af70907222327y37d7522y7f70192c663d4eb5@mail.gmail.com>
Debarshi Sanyal <debarshisanyal@gmail.com> writes:
> gcc doesn't seem to support "#pragma startup" and "#pragma exit". I
> used gcc 4.0.0.
> Does there exist equivalent commands for these pragmas in gcc?
This question is not appropriate for the mailing list gcc@gcc.gnu.org,
which is for developers of gcc. It is appropriate for
gcc-help@gcc.gnu.org. Please take any followups to that list. Thanks.
See the constructor and destructor function attributes.
Ian