All three computers use exactly the same libaries.
Changing the IDE version from 1.8.19 to 1.8.13 on the first computer in my OP the compile results on that computer are exactly the same, and same libraries/locations are used.
Different Windows operating system (W7 vs W10): how does this affect the functioning of an identical compiler?
It may not seem much, but in some instances this may matter. How then are these differences in compiled program size explained?
you should always be able to exactly reproduce a binary from the same source code. consider trying to debug a customer problem when the customer is using an earlier release of software.
I don't consider it possible because two PC never be the same, and never has the same software configuration.
I build a big project on two very similar computers with the same versions IDE and libraries. I very rarely get the same firmware size on two computers
i worked on a network processor (NP) controlled by a vxWorks application. vxWorks distributed a binary for the NP. the NP had 16 channels each with tx/rx bit/byte processors and a risc processor. 80+ processors, at least 5 separate binaries, one for each processor type
we routinely veriied checksums for each binary to make sure we weren't inadvertently changing something we didn't intend to.
often system test would report a problem. we'd ask which version and they were often unsure, the file sizes hadn't changed. being able to check checksums, we could easily identified that they weren't using the correct binaries.
we couldn't reproduce the binary distributed by vxWorks based on the version of source code the reported it was from.
after convincing them we knew what we were talking about, the provided source, which was modified from the version they reported the binary was for.
we reproduced the checksums for all but one of the bit processors and were satisfied that we has the source to work from
i feel that without being able to do this, we would have spent months trying to reproduce their results. instead it just took a couple weeks