Binary is twice bigger
Sergei Organov
osv at topconrd.ru
Tue Dec 23 12:25:19 UTC 2003
"Dieter Schaefer" <CW-RTEMS at Schaefer-Comtronic.de> writes:
>
[...]
> Early this year we have ported RTEMS (MPC860 target) to MetroWerks
> CodeWarrior for Windows. There was a significant difference in size too.
> The 2 main reasons are:
> * CodeWarrior uses *real* EABI, not just some #defines in the Makefiles
Though I don't know what you mean by "some #defines in the Makefiles", GCC can
do it as well: -meabi [-msdata=eabi]
> * The Linker does a real good job of dead-stripping code
GCC can do it as well:
during compilation: -ffunction-sections
during link: -Wl,--gc-sections
--
Sergei.
More information about the users
mailing list