Executable size when compiling with GDC

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Feb 22 01:22:46 PST 2012


On 21.02.2012 16:51, Mars wrote:
> 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

I recall debug builds with MinGW GCC on windows are also enormous. Try 
release vs debug.

-- 
Dmitry Olshansky


More information about the Digitalmars-d-learn mailing list