Generated binary size

Johannes Pfau nospam at example.com
Fri Sep 13 09:37:39 PDT 2013


Am Fri, 13 Sep 2013 16:25:47 +0100
schrieb Iain Buclaw <ibuclaw at ubuntu.com>:

> On 13 September 2013 16:24, Iain Buclaw <ibuclaw at ubuntu.com> wrote:
> 
> In this way, I'd also expect those who build gdc from source would
> have large executables than those who install gdc through a package
> manager/installer.

The example from the original post is still valid though. Even with a
stripped libphobos the executable produced by gdc is almost twice as
big.

ls -lh /usr/lib | grep phobos
-rw-r--r-- 1 root root   18M  7. Sep 03:15 libgphobos2.a
-rw-r--r-- 1 root root   12M  7. Sep 03:42 liblphobos.a
-rw-r--r-- 1 root root   13M  7. Sep 03:42 liblphobos-debug.a
-rw-r--r-- 1 root root   30M 25. Aug 19:08 libphobos2.a




More information about the D.gnu mailing list