This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Small security patches
Christopher Faylor wrote:
>
> Actually, if you can get away without using a
> constructor that would be best. Constructors are a noticeable part of
> cygwin's startup cost.
- Is there a C++ way to initialize a constant class and have it in the .text
section, as "const int i = 1;" would be?
- If not, I can get the desired effect by using gcc "Asm Labels", like
int foo asm ("myfoo") = 2;
Would that be acceptable in Cygwin?
Pierre