[cc65] ca65: Setting segment name from cmdline?

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-01-26 17:03:23
Hi,

Given the --code-name option of cc65 I was somehow thinking the same
would be available for ca65. However this isn't the case. Then I
thought I could use the -D option toe "somehow" define the name and
refer in the source to it with the .segment directive. But this was
obviously wrong too. So my question is:

Is there a way to define the name of the segment for i.e. code on the
ca65 cmdline?

In case you wonder what I'm trying to do: I want to place the same
code several times in the output file. Just the run address differs
for each variant. My idea was to setup several segments in my linker
config and run ca65 several times on the same source but different
cmdlines in order to produce several .o files.

Thanks in advance for your help,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jan 26 17:03:33 2012

This archive was generated by hypermail 2.1.8 : 2012-01-26 17:03:37 CET