Re: LDC has the --gc-sections flag, etc.

2014-09-02 Thread Iain Buclaw via Digitalmars-d
On 2 September 2014 01:03, David Nadlinger via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 1 September 2014 at 22:17:13 UTC, Abe wrote: Do you guys — or anybody else — know what the situation is with GDC? Does it strip out unneeded sections/symbols/both, or is it just dumping

Re: LDC has the --gc-sections flag, etc.

2014-09-01 Thread Abe via Digitalmars-d
First: thanks to Joakim and yourself for all the recent replies. unnecessary symbols are not stripped. I think that`s the most essential part of why Hello world came out so big for me. LDC has the --gc-sections flag, enabled by default. This will significantly reduce the since of the

Re: LDC has the --gc-sections flag, etc.

2014-09-01 Thread David Nadlinger via Digitalmars-d
On Monday, 1 September 2014 at 22:17:13 UTC, Abe wrote: Do you guys — or anybody else — know what the situation is with GDC? Does it strip out unneeded sections/symbols/both, or is it just dumping everything into the executable like DMD-on-Mac-OS-X seems to do? GDC does not strip unneeded