Re: [cc65] ld65 expressions?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2006-01-17 14:49:55
On Tue, Jan 17, 2006 at 12:15:10PM +0100, MagerValp wrote:
> I remember some talk about expressions in the ld65 config files, but I
> couldn't find anything definitive in the mailing list archive. Did you
> add cfg file expressions? If so, how do you use them?

One thing is that you can define symbols in a section named SYMBOLS. These
symbols can be "weak", in which case they're defined only if there is no such
symbol in one of the object files. The symbols in the SYMBOLS section can be
accessed from the object files. 

The second change is that most places where a value is allowed, this value can
be an expression. A limitation is that symbols used in these expressions
must be constant when the config file is read.

Some info about this is also in the docs.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jan 17 14:50:10 2006

This archive was generated by hypermail 2.1.8 : 2006-01-17 14:50:13 CET