[Issue 9483] New: Distribute both development and release builds of phobos.lib / libphobos.a
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 8 05:08:58 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9483
Summary: Distribute both development and release builds of
phobos.lib / libphobos.a
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: smjg at iname.com
--- Comment #0 from Stewart Gordon <smjg at iname.com> 2013-02-08 05:08:57 PST ---
It's been complained about a number of times that, while Phobos uses DbC, we as
users of Phobos don't get the benefit of this because the distributed Phobos
library has been compiled in release mode. Unless we build Phobos in
development mode ourselves.
This has also in the past led to anomalies like issue 796.
As such, we should have both the development and the release build in the
distribution. Maybe call them phobos_d.lib and phobos_r.lib or something. And
when linking through DMD, decide which one to link in automatically based on
whether the -release switch has been specified.
When/if issue 9482 is dealt with, we can distribute the
release-with-in-contracts build as the development build.
(Does this count as a Phobos issue or a DMD issue? Really, it's the DMD
package, more than dmd.exe itself or Phobos itself....)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list