Larger filesize with C Compiler
Posted: Thu Jun 16, 2022 11:25 pm
I know this doesn't give much valuable information, but I want to ask anyway:
I have a project with about 20.000 lines. When I compile it with the usual compiler I get 2.30MB (x86) and 2.88MB (x64) on Windows. When I compile it with the new C Compiler (no other settings changed) I get 2.49MB (x86) and 2.53MB (x64), which is strange, because usually the C compiled files are smaller (also, this applies to the x64 file and only the x86 file differs). Is there an explanation (I'm not using preprocessor commands that add stuff when compiled with x86 C Compiler) for that? I know this is not really important, but I'm curious.
I have a project with about 20.000 lines. When I compile it with the usual compiler I get 2.30MB (x86) and 2.88MB (x64) on Windows. When I compile it with the new C Compiler (no other settings changed) I get 2.49MB (x86) and 2.53MB (x64), which is strange, because usually the C compiled files are smaller (also, this applies to the x64 file and only the x86 file differs). Is there an explanation (I'm not using preprocessor commands that add stuff when compiled with x86 C Compiler) for that? I know this is not really important, but I'm curious.