Should Druntime and Phobos be built with -gs ?

Vladimir Panteleev vladimir at thecybershadow.net
Wed Dec 5 10:32:16 PST 2012


On Tuesday, 4 December 2012 at 12:11:37 UTC, Jacob Carlborg wrote:
> Isn't it better to ship Phobos and druntime with debug versions 
> of the libraries as well.

Yes, providing something immediately usable with the -debuglib 
switch would be nice (I'd imagine a build without -O or -inline). 
However, if the performance impact of -gs is negligible, there's 
little reason not to enable it in the release version of Phobos. 
Those who want every 0.x% of performance can always build/write 
their own library.


More information about the Digitalmars-d mailing list