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 -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707