Variation in Hex Size between Windows and OSX

Hi all, I'm noticing that between OSX and Windows distributions of the same version of Arduino (1.0.1), I'm getting a variation in hex size for the same sketch built for Leonardo.

On OSX, the sketch compiles to 28,542 bytes, but on Windows it compiles to 28,708. (Which is too large for Leonardo.) On 1.0.2 the sketch is even larger, but I'll chalk that up to feature bloat.

Is anyone aware of any differences in the core libraries, or the AVR GCC compiler (or its options) between OSX and Windows that would account for the additional 166 bytes of flash usage?

Thanks!

!c

Can you post the code?

eried:
Can you post the code?

8k LoC and 30+ files? No. (And its why I didn't post it in programming questions, but it got moved here anyhow.)

I'm asking if anyone is aware of any known deviations between the two environments which would be helpful as I go bit by bit trying to create a minimal reproducible case to identify the culprit. "No, none are known." Is a perfectly acceptable answer. =)

!c

Well the compilers are not 100% the same /versions etc. I upgraded winavr in the link in my signature, maybe you get another size with the newer winavr included in that package.