libstdc++ configury fix for darwin exports

Geoffrey Keating geoffk@apple.com
Tue Nov 15 04:52:00 GMT 2005


When trying to work out which versioning scheme to use, libstdc++  
looks for a shared libgcc and disables versioning if there isn't  
one.  This isn't a good idea on Darwin, because (a) it uses '-lgcc_s'  
to look for it and it's not called that on Darwin, and (b) on Darwin,  
the "versioning" works just fine even if you link with the static  
libgcc (although this is a very bad idea for other reasons).

So, patch!

Bootstrapped on powerpc-darwin8, and tested by noting that the  
versioning is now 'darwin-export'.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-darwin-minversion-libstdc++configury.patch
Type: application/octet-stream
Size: 1982 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20051115/2bf38310/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2408 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20051115/2bf38310/attachment.p7s>


More information about the Libstdc++ mailing list