Adriaan van Os wrote:
Frank Heckenbach wrote:
Adriaan van Os wrote:
I wonder if "ld" is an optimizing linker, as "nohello" has the same executable size as "hello".
That's interesting -- doesn't happen here. It might be the result of padding (though 600 bytes seems a little much), I don't know.
Maybe, a segment size of 1K or 2K or something like that. The "writeln" and "console" runtime library stuff will be linked in anyway, I guess, because of messages to standard error ?
Yes. Only the object file size difference should matter.
Frank