Bug 1838 – Missing redundant symbols make compile time monsters

Status
RESOLVED
Resolution
WORKSFORME
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2008-02-14T16:41:00Z
Last change time
2014-02-24T15:31:38Z
Assigned to
bugzilla
Creator
benoit

Comments

Comment #0 by benoit — 2008-02-14T16:41:50Z
As Gregor explained in this posting http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=57473 build tools are forced to call DMD separately on each file. This turns out to be so bad. Project like DWT will take >15 min for a full compile. This is simply not acceptable.
Comment #1 by bugzilla — 2008-03-02T22:40:07Z
I understand the problem, but it is not easy to fix. Also, it only is an issue for library builds, not application builds.
Comment #2 by benoit — 2008-03-03T04:39:17Z
(In reply to comment #1) Library builds are the basis for application builds. So your arguments for low priority is an argument for high priority to me.
Comment #3 by bugzilla — 2012-04-25T01:13:49Z
I don't believe this is an issue any more. To create libraries from multiple files, just list all the files on one command line, and specify -lib. dmd will produce fine grained object files, sometimes many per source file. This is the way Phobos is currently built, for example.