On Mon, Nov 30, 2009 at 11:56:46AM +0200, Kalev Lember wrote: > To work around that, upstream mingw has a patch to annotate > functions which support unwinding with SEH with > __attribute__((seh_aware)). I've tested that patch and it really > does fix binary compatibility with binaries produced by Visual > Studio.
I'm not quite sure I understand this bit - which functions need to be annotated? > Switching to DWARF2 is needed to fix binary compatibility with > upstream mingw gcc 4 compiler. Besides that, SJLJ has runtime cost > in the common case when no exceptions are thrown; DWARF2 doesn't > have that problem. MinGW upstream also thinks that DWARF2 should be > made default in FSF GCC in the future [2]. > > [2] http://thread.gmane.org/gmane.comp.gnu.mingw.devel/3331/focus=3348 MinGW thinks this, but what about the GCC developers? I think I trust GCC upstream much more than MinGW ... OTOH if it's just a matter of setting a configure flag, then it doesn't matter too much. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://et.redhat.com/~rjones/libguestfs/ See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html _______________________________________________ fedora-mingw mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
