[Issue 4767] dmd generates useless template bloat

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 11 21:43:37 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4767


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2011-04-11 21:39:51 PDT ---
What matters is what gets into the exe file, not what's in the object files.

To that end, if you use dmd to generate a library file from source, it will
split each object file into multiple ones (one for each global symbol). Then,
only the referenced symbols get pulled in.

It's not a perfect solution, but it's a start.

-- 
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