You can try upx too :)
Il giorno mar, 21/02/2012 alle 16.43 +0100, Mars ha scritto:
On Tuesday, 21 February 2012 at 13:19:11 UTC, Andrea Fontana
wrote:
Have you tried to strip executable using --strip or --strip-all?
Down to 1 MB, a good start, thanks. I guess that's more bearable.
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
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
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
On Tuesday, 21 February 2012 at 13:19:11 UTC, Andrea Fontana
wrote:
Have you tried to strip executable using --strip or --strip-all?
Down to 1 MB, a good start, thanks. I guess that's more bearable.
Lots of symbols and stuff.
You can get it down with -ffunction-sections -fdata-sections
-Wl,-s,--gc-sections
Phobos should also be compiled with -ffunction-sections -fdata-sections to
get the whole effect though.