If you use different versions of the compiler or different settings (especially regarding what debugging information is included), this can change the file size. The same version of the compiler with the same parameters should contain the same file size - I usually expected that they would create the same file.
source share