[swfmill] maintainer-wanted
INADA Naoki
inada-n at klab.org
Mon Apr 14 00:41:59 PDT 2008
Please try these options:
CFLAGS/CXXFLAGS:: -ffunction-sections
LDFLAGS:: -static -Wl,--gc-sections -s
When -ffunction-sections option used, gcc splits functions into some sections.
When --gc-sections option used, linker will not link unreferenced sections.
This option must be used with -static option.
When -s option used, linker strips symbol name.
To shrink executable binary, you may need to build not only swfmill
but also libraries (freetype, xml2, etc...) with these options.
> Hello Daniel & all,
>
> I've spent 3 days recently to compile swfmill for windows, and I can
> do it reliably now I think. The only problem is that it makes a 13mb
> binary (and requiring libiconv-2.dll).. I can maybe even set up an
> automatic builder, but first someone needs to point me how to shrink
> the binary to a reasonable size - I am not sure my way is optimal. I
> was using MSYS/MinGW chain.
>
> Mike
>
More information about the swfmill
mailing list