Mail Archives: cygwin-developers/1998/06/24/11:18:41
A while back Stan Cox I believe had asked why cygwin32 port of gcc doesn't
used these sections, and I don't see any followups in the mailing list.
Has anybody tried?
I'm looking at going revisiting the issue of dwarf2 based EH, and it would
be nice to know if .init section worked or not before getting started. I'd
like to avoid __attribute__((constructor)) or calling from __main solution
if I possibly can.
If these do work, then I suggest making the following changes:
1. For gcc: use crtstuff.c that already does most of this (after
defining the appropriate macros in i386/cygwin32.h of course).
2. For cygwin: fix winsup/dcrt0.c and other startup routines.
Ditto for mingw32 startup code.
Regards,
Mumit
- Raw text -