From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-01-08 08:16:21
Good morning!
On Tue, Jan 07, 2003 at 10:13:02AM +0100, Christian Krüger wrote:
> ..but what about the memory usage? Is there only memory
> reserved if the '_buffer'-symbol is 'in use' or will the
> buffer allways allocated by the linker if the 'buffer.s'
> is in my runtime-lib?
Piotr already posted the answer. As a general rule:
* If an object file is given on the command line, the object file is always
linked to the executable.
* If an object file is part of a library that is specified on the linker
command line, only these modules from the library get extracted that are
needed to satisfy unresolved references.
Regards
Uz
--
Ullrich von Bassewitz uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-01-08 08:17:34 CET