I have a build for an ARM embedded target that is developed using eclipse and GCC toolchain release 12.2-rel1
.
I have set up a build in TeamCity that runs in a Linux-based Docker container, also using toolchain 12.2-rel1
. The build produces a significantly different sized .hex file, and the linker .map output is formatted differently.
Perhaps I'm being naive, but I expected these builds to produce identical output. Is this even a reasonable expectation? It seems like it should be when cross-compiling using same versions of the tool chain. What are possible sources of the difference?