My D cross-compiler for wince generates huge binary
Vincent Richomme
forumer at smartmobili.com
Fri Aug 15 08:21:18 PDT 2008
Vincent Richomme a écrit :
> Hi,
>
> When trying o build a simple D program with a wince cross compiler the
> generated binary is about 1 MB for a simple MessageBox.
>
>
> $> arm-mingw32ce-gdc test.d -O2 -o testD.exe
> $>ls -la
> -rwxr-xr-x 1 Vincent Aucun 1231211 Aug 15 16:16 testD.exe
>
> I don't understand why the binary is so big ? Is it normal ?
> Maybe it's because of D runtime and in this case how can I build it as a
> shared lib ?
>
By the way does the D compiler is related to C++ compiler in some ways
because on wince/mingw libstdc++ is statically linked so I wonder if it
couln't be an explanation.
But I don't think it can explain everything ...
More information about the D.gnu
mailing list