[Issue 5560] unittests add code size when compiling with -lib and without -unittest

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 3 15:31:27 PDT 2011


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


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-05-03 15:27:36 PDT ---
The size of libphobos.a has nothing to do with the size of an executable linked
with Phobos.

Multiobj will increase the size of the library simply because there's a lot of
bookkeeping overhead for each .o file - overhead that does not go into the
executable.

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