On 13 September 2013 18:28, Joseph Rushton Wakeling <joseph.wakel...@webdrake.net> wrote: > On 13/09/13 19:22, Iain Buclaw wrote: >> >> Can you check if it in fact strips binaries? (you can check with 'file') > > > bin/gdc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), > dynamically linked (uses shared libs), for GNU/Linux 2.6.24, stripped > lib64/libgphobos2.a: current ar archive > > libgphobos2.a is 72 MB in size, while LDC breaks Phobos up into 2 parts, > libphobos-ldc.a (20 MB) and libphobos-ldc-debug.a (33 MB).
du -h lib64/libgphobos2.a 73M lib64/libgphobos2.a strip --strip-unneeded lib64/libgphobos2.a du -h lib64/libgphobos2.a 18M lib64/libgphobos2.a -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';