2 Replies Latest reply on May 14, 2020 11:08 AM by agmi_3321141

    different elf size on windows vs macos for project

    agmi_3321141

      Hello,

       

      I built my project on the WICED SDK available for macos. My project produces slightly different binary size on macos. I also tried to build some examples in the SDK and noticed that its mostly libc that produces the difference. Can any experts comment on why this might be happening? The version of armgcc on Windows is :

       

      PS C:\WICED-Studio-6.4-SDK> .\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\arm-none-eabi-gcc.exe --version
      arm-none-eabi-gcc.exe (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.2.1 20170904 (release) [ARM/embedded-7-
      branch revision 255204]
      Copyright (C) 2017 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

       

      This is the output on macos:

       

      ./43xxx_Wi-Fi/tools/ARM_GNU/OSX/bin/arm-none-eabi-gcc --version

      arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]

      Copyright (C) 2017 Free Software Foundation, Inc.

      This is free software; see the source for copying conditions.  There is NO

      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.