Compare the toolchain between gcc-arm-none-eabi-9-2020-q2-update and armcc v6

Dear all,

  I use the same code under the windows keil-C with armcc v6 ,the optimization parameter is -Oz and the linux  gcc-arm-none-eabi-9-2020-q2-update, the optimization parameter is -Os. I don't understand why the code size is so different. the hex from keil-C is about 1584 bytes, but the hex from linux gcc about 33xx bytes.

BR,

Eddie

Parents Reply Children
No data
More questions in this forum