Re: [cc65] ca65: insert source file name

From: Ullrich von Bassewitz <>
Date: 2012-06-12 20:34:11
On Tue, Jun 12, 2012 at 05:18:08PM +0200, Martin Strand wrote:
> but it seems ca65 doesn't allow string symbols on the command line. :(

In general, symbols can only be integers. That's a pity but part of ca65s

> Is there any easy way around this?

No, sorry.

> The best I could come up with is something like:
> >echo "myprog.asm" > filename.bin
> >
> >.ifdef SOURCE_FILE
> >  prog_name: .incbin "filename.bin"
> >.endif

Yes, I would have come up with something similar.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jun 12 20:34:21 2012

This archive was generated by hypermail 2.1.8 : 2012-06-12 20:34:26 CEST