I created a simple project, compiled with the same version of the compiler under Windows and Ubuntu respectively, but the generated elf files are different, and the actual execution time of the program is also different, which in some cases may cause Unexpected results appear. Why does this happen? Is there any solution?
The compiler version is as follows:
Ubuntu:
powerpc-eabivle-gcc (GCC) 4.9.4 20160726 (Sat May 27 11:09:55 CDT 2017 build.sh rev=gd8b6c20 s=F494 ELe200 -V release_gd8b6c20_build_Fed_ELe200_ML0)
Windows:
powerpc-eabivle-gcc (GCC) 4.9.4 20160726 (Tue Oct 17 13:22:54 CDT 2017 build.sh rev=g0812845 s=F494 ELe200 -V release_g0812845_build_Fed_ELe200_ML0)