Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22047

When cross-compiling for an ARM embedded target using GCC, is it reasonable to expect the Windows and Linux versions to produce identical output?

$
0
0

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?


Viewing all articles
Browse latest Browse all 22047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>