shared library size

boolangery eliott.dumeix at
Mon Jul 2 09:35:53 UTC 2018


Why shared library size is so big ?

I tried to build as a shared 

build/ ELF 64-bit LSB shared object, x86-64, version 
1 (SYSV), dynamically linked, 
BuildID[sha1]=4df6b6d12da6d6cf2108178a14b61fc9453a8e9e, stripped

2,6M	build/

ldd build/ (0x00007ffd65d54000) => /lib64/ (0x00007f5181e94000) => /lib64/ (0x00007f5181c7d000) => /lib64/ 
(0x00007f51815b3000) => /lib64/ 
(0x00007f51812a3000) => /lib64/ (0x00007f518109f000) => /lib64/ (0x00007f5180e81000) => /lib64/ (0x00007f5180b36000) => /lib64/ (0x00007f5180780000)
	/lib64/ (0x00007f5182527000) => /lib64/ (0x00007f5180569000)

Its just 16K lines of codes, why 2.6M ? Do you have tips for 
reduce this size ?


More information about the digitalmars-d-ldc mailing list