Why does my application have a larger code size when compiled with GCC?
The same application, when built with GCC, will take up more code space than when built with Diab.
The Diab Compiler supports VLE instructions and OpenECU enables this feature to make the application code as compact as possible. GCC does not support VLE, so the application is built with non-VLE instructions which use more code memory.
- In general, GCC applications will be about 50% bigger than code generated by Diab.