Small security patches

Pierre A. Humblet Pierre.Humblet@ieee.org
Thu Dec 12 08:33:00 GMT 2002


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



More information about the Cygwin-patches mailing list