[PATCH] Build libgcc_s on Windows

Aaron W. LaFramboise aaronavay62@aaronwl.com
Mon Aug 18 18:51:00 GMT 2008


This patch enables building libgcc_s as a DLL on MinGW and Cygwin.  This 
allows throwing exceptions across DLL boundaries when using a shared 
libgcc_s.

It needs approval from toplevel configure, gcc/mkmap, Windows and 
libstdc++ maintainers.

It was tested by a bootstrap and testsuite run on i386-pc-mingw32, as 
well as manually to make sure it works.

The mkmap machinery is re-used to generate a .def file, which is PECOFF 
equivalent of a flat map file.  This should help control the ABI a little.

OK to commit?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-4.4.0-20080817-libgcc_s.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080818/9af50480/attachment.ksh>


More information about the Libstdc++ mailing list