4 Replies Latest reply on Sep 11, 2020 7:06 AM by EhFr_4549346

    F2MC-16 Family SOFTUNE fcc907s C COMPILER

    EhFr_4549346

      Hi, I'm new to this compiler but have some experience with gcc and arm compiler.

       

      I want to make sure, 2 source files will end up producing the same object files.

       

      So I was trying to compare the compiler output object files (somefile.o), generated from different projects.

      I know that in order to do this I need to remove the added debug information from the object files.

       

      In gcc we have the following command:

      strip *.o

      With arm compiler we can use:

      arm-none-eabi-strip *.o

       

      And with the fcc907s Cmpiler ???

       

      I was also trying to use the -Xg flag, to not generate the debug information. this did not work for me (as can be seen in the image bellow).

      Compare method: I generate an object file, cut and paste it somewhere else, regenerate it again and text compare it with the pasted file.

       

      How can I compare 2 object files?

      Is there's another way to make sure, 2 source files will end up producing the same object files?

       

      Thanks in advance.