Executable size when compiling with GDC

Andrea Fontana advmail at katamail.com
Tue Feb 21 05:19:11 PST 2012


Have you tried to strip executable using --strip or --strip-all?



Il giorno mar, 21/02/2012 alle 13.51 +0100, Mars ha scritto:

> Hello everybody.
> 
> Today I've tested GDC (on Windows), and a simple Hello World 
> program results in a 5 MB exe file, while it's only about 200 KB 
> with DMD. Is this normal? What does GDC (GCC?) put in there, to 
> make it so big, and why?
> 
> Mars


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20120221/aed72b22/attachment.html>


More information about the Digitalmars-d-learn mailing list