Re: Generated binary size

2013-09-15 Thread Iain Buclaw
On 16 September 2013 00:15, David Nadlinger wrote: > On Sunday, 15 September 2013 at 21:52:29 UTC, David Nadlinger wrote: >> >> LDC does not strip the library into > > > s/strip/split/ > I knew what you meant. :o) -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';

Re: Generated binary size

2013-09-15 Thread Iain Buclaw
On 15 September 2013 23:01, Dicebot wrote: > On Sunday, 15 September 2013 at 21:30:17 UTC, Iain Buclaw wrote: >> >> As per my initial post, strip not being ran on the library after >> installation. :-) >> >> The makefile for libphobos/libdruntime certainly doesn't strip the >> libraries for you wh

Re: Generated binary size

2013-09-15 Thread David Nadlinger
On Sunday, 15 September 2013 at 21:52:29 UTC, David Nadlinger wrote: LDC does not strip the library into s/strip/split/ David

Re: Generated binary size

2013-09-15 Thread Iain Buclaw
On 15 September 2013 23:48, Dicebot wrote: > On Sunday, 15 September 2013 at 22:30:11 UTC, Iain Buclaw wrote: >> >> If the size of the library is 70MB+ then it most certainly isn't >> running --strip-debug on the library. I can guarantee you at least >> this. :-) > > > It is 18Mb (you are probabl

Re: Generated binary size

2013-09-15 Thread Dicebot
On Sunday, 15 September 2013 at 22:30:11 UTC, Iain Buclaw wrote: If the size of the library is 70MB+ then it most certainly isn't running --strip-debug on the library. I can guarantee you at least this. :-) It is 18Mb (you are probably mixing my posts with Joseph ones, they are unrelated)

Re: Generated binary size

2013-09-15 Thread Iain Buclaw
On 15 September 2013 23:01, Dicebot wrote: > On Sunday, 15 September 2013 at 21:30:17 UTC, Iain Buclaw wrote: >> >> As per my initial post, strip not being ran on the library after >> installation. :-) >> >> The makefile for libphobos/libdruntime certainly doesn't strip the >> libraries for you wh

Re: Generated binary size

2013-09-15 Thread Dicebot
On Sunday, 15 September 2013 at 21:30:17 UTC, Iain Buclaw wrote: As per my initial post, strip not being ran on the library after installation. :-) The makefile for libphobos/libdruntime certainly doesn't strip the libraries for you when you make strip-install. At least not yet... As per my

Re: Generated binary size

2013-09-15 Thread David Nadlinger
On Friday, 13 September 2013 at 19:48:12 UTC, Joseph Rushton Wakeling wrote: Is there any way in which to ensure that the build splits Phobos up into library and debugging symbols à la LDC? Could be useful, no? LDC does not strip the library into a release build and debugging symbols (yet) –

Re: Generated binary size

2013-09-15 Thread Iain Buclaw
On 15 September 2013 22:07, Dicebot wrote: > On Sunday, 15 September 2013 at 21:05:18 UTC, Iain Buclaw wrote: >> >> --strip-unneeded could potentially cause lots of undefined reference >> errors on static libraries. Shared libraries don't suffer this >> because symbols are put into a special sect

Re: Generated binary size

2013-09-15 Thread Iain Buclaw
On 15 September 2013 22:05, Iain Buclaw wrote: > On 15 September 2013 21:02, Dicebot wrote: >> On Sunday, 15 September 2013 at 19:59:48 UTC, Iain Buclaw wrote: >>> >>> On 15 September 2013 20:46, Dicebot wrote: On Friday, 13 September 2013 at 18:09:15 UTC, Iain Buclaw wrote: >

Re: Generated binary size

2013-09-15 Thread Dicebot
On Sunday, 15 September 2013 at 21:05:18 UTC, Iain Buclaw wrote: --strip-unneeded could potentially cause lots of undefined reference errors on static libraries. Shared libraries don't suffer this because symbols are put into a special section which strip knows not to touch. General rule of

Re: Generated binary size

2013-09-15 Thread Iain Buclaw
On 15 September 2013 21:02, Dicebot wrote: > On Sunday, 15 September 2013 at 19:59:48 UTC, Iain Buclaw wrote: >> >> On 15 September 2013 20:46, Dicebot wrote: >>> >>> On Friday, 13 September 2013 at 18:09:15 UTC, Iain Buclaw wrote: du -h lib64/libgphobos2.a 73Mlib64/libgph

Re: Generated binary size

2013-09-15 Thread Dicebot
On Sunday, 15 September 2013 at 19:59:48 UTC, Iain Buclaw wrote: On 15 September 2013 20:46, Dicebot wrote: On Friday, 13 September 2013 at 18:09:15 UTC, Iain Buclaw wrote: du -h lib64/libgphobos2.a 73Mlib64/libgphobos2.a strip --strip-unneeded lib64/libgphobos2.a du -h lib64/libgphobo

Re: Generated binary size

2013-09-15 Thread Iain Buclaw
On 15 September 2013 20:46, Dicebot wrote: > On Friday, 13 September 2013 at 18:09:15 UTC, Iain Buclaw wrote: >> >> du -h lib64/libgphobos2.a >> 73Mlib64/libgphobos2.a >> >> strip --strip-unneeded lib64/libgphobos2.a >> >> du -h lib64/libgphobos2.a >> 18Mlib64/libgphobos2.a > > > Well, lo

Re: Generated binary size

2013-09-15 Thread Dicebot
On Friday, 13 September 2013 at 18:09:15 UTC, Iain Buclaw wrote: du -h lib64/libgphobos2.a 73Mlib64/libgphobos2.a strip --strip-unneeded lib64/libgphobos2.a du -h lib64/libgphobos2.a 18Mlib64/libgphobos2.a Well, looks like you have just found a bug in default Arch Linux makepkg.conf