add -fforce-addr -fmerge-all-constants -fmove-all-movables -funit-at-a-time to DBG=0 Old setting did produce 1.06MB of comctl32.dll new setting produce it to 940KB. it will produce smaller file size for all file. Modified: trunk/reactos/ReactOS.xml _____
Modified: trunk/reactos/ReactOS.xml --- trunk/reactos/ReactOS.xml 2005-12-18 01:29:18 UTC (rev 20239) +++ trunk/reactos/ReactOS.xml 2005-12-18 09:36:32 UTC (rev 20240) @@ -26,6 +26,10 @@
<compilerflag>-ftracer</compilerflag> <compilerflag>-momit-leaf-frame-pointer</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag> + <compilerflag>-fforce-addr</compilerflag> + <compilerflag>-fmerge-all-constants</compilerflag> + <compilerflag>-fmove-all-movables</compilerflag> + <compilerflag>-funit-at-a-time</compilerflag> </if> <if property="KDBG" value="1"> <define name="KDBG" value="1" />