Thread overview
[Issue 1838] New: Missing redundant symbols make compile time monsters
Feb 14, 2008
d-bugmail
Mar 03, 2008
d-bugmail
Mar 03, 2008
d-bugmail
Apr 25, 2012
Walter Bright
February 14, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1838

           Summary: Missing redundant symbols make compile time monsters
           Product: D
           Version: 1.025
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: benoit@tionex.de


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.


-- 

March 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1838





------- Comment #1 from bugzilla@digitalmars.com  2008-03-02 22:40 -------
I understand the problem, but it is not easy to fix. Also, it only is an issue for library builds, not application builds.


-- 

March 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1838





------- Comment #2 from benoit@tionex.de  2008-03-03 04:39 -------
(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.


-- 

April 25, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1838


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2012-04-25 01:13:49 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------