Larger filesize with C Compiler

Everything else that doesn't fall into one of the other PB categories.
User avatar
jacdelad
Addict
Addict
Posts: 1418
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Larger filesize with C Compiler

Post by jacdelad »

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.
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB