Why is the compiled file size so huge?

rempas rempas at tutanota.com
Sat May 28 10:27:46 UTC 2022


On Friday, 27 May 2022 at 13:40:25 UTC, Alexander Zhirov wrote:
> I'm trying to compile a file that weighs 3 kilobytes. I'm also 
> linking a self-written dynamic library. I don't understand why 
> the resulting executable file is so huge? After all, all 
> libraries are present:
> [...]

I did a similar question in a C forum regarding an huge file 
sizes of GCC compared to manually writing assembly and linking 
(at least for the smallest possible program on Linux) and well... 
You won't get an answer!


More information about the Digitalmars-d-learn mailing list