Executable size

Russel Winder via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon May 2 02:52:38 PDT 2016


On Mon, 2016-05-02 at 09:45 +0100, David Nadlinger via digitalmars-d-
ldc wrote:
> Hi Russel,
> 
> On 1 May 2016, at 13:43, Russel Winder via digitalmars-d-ldc wrote:
> > Is it right that ldc2 built from source should be about 80MB?
> 
> Depends on what target architectures are included in the LLVM build
> (if 
> it is linked statically) and so on, but that is a bit larger than
> I'm 
> seeing here. The executable size is quite a bit increased if your
> build 
> (or a part of it) has debugging symbols enabled.
> 

I am building with things out of the box:

	cmake -DCMAKE_INSTALL_PREFIX=$HOME/Built ..

so it sounds as though I need to amend this to get a reasonable size
executable.

Even stripped I have 31MB of ldc2, so 50MB of symbols.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-ldc/attachments/20160502/dbb09e82/attachment.sig>


More information about the digitalmars-d-ldc mailing list