p/s: Oh, you are using Windows. MinGW compiled binary is notoriously known as big and bloated on Windows, you should have compare with MSVC or Pelles C compiled binary to be fair
The same program compiled with MSVC is roughly twice as large as the FPC version. In addition to that, it requires msvcrtxxx.dll, IOW, it is not even a standalone executable.
I said it a bit unclear. C++ is always bigger than FPC. FPC is something between C and C++. C++ is bloat by design, the more you use template, the bloater it is. Comparing FPC with C++ is unfair.
MinGW produces the biggest/bloatest binary.
MSVC is a bit better because they don't have the MinGW's problem (MinGW is GNU on Windows if you wonder, it's something as a layer to port and compile GNU source code on Windows but not optimized for just Windows like MSVC, which is Windows' native compiler, they are even provide library winpthread to emulate posix thread on Windows, there are many flavor of the compiler, which seh, sjlj or dwarf exception handling, win32 thread or posix thread...), and they also cheat with the redistribute package.
The real one should be Pelles C. Standalone executable with debug info embedded and still lighter than FPC.
But anyway, all of this is meaningless. I said there is a bug
with FPC itself causing it to generate big and bloated binary on other platforms other than Windows and Linux. Your posts are fallible, after all