The file gcc-4.3.0-20080502-mingw32-alpha-notes.txt contains the
following:

        NEW FEATURES SINCE MINGW GCC 3.4
        
          Windows-specific:
        
        -Shared libgcc: If all modules are linked with -shared-libgcc, 
exceptions 
        can be thrown across DLL boundaries.
        
        -Shared libstdc++: Add -lstdc++_s to your link flags to link against a 
DLL 
        version of libstdc++.
        
        -Zero cost exceptions: New exception model Dwarf only has performance 
        penalty when being thrown.  The old model, SJLJ, is no longer available.
        
So perhaps this is fixed in 4.3?

As for the dead links in the original bug report text; the legal info
about a shared libgcc/libstdc++ can be found at:
http://web.archive.org/web/20071030200638/http://www.mingw.org/MinGWiki/index.php/SharedLibgccLegal

The links to the information for creating a shared libstdc++ from
libstdc++.a are broken, but steps detailed at this address work for me
(at least, they result in a libstdc++.dll file, I don't know if you also
have to do the same for libgcc, and whether that would work if you then
linked against it):
http://www.nabble.com/Re%3A-Libstdc%2B%2B.dll-impossible-for-a-GPL-project-because-of--exception-problems-%28contains-simple-testcase%29-p3121046.html

-- 
Sam Morris
https://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to