Re: [cc65] Assembler Option --listing in ant

From: David Schmidt <david46021gmail.com>
Date: 2011-02-16 23:40:09
On Wed, Feb 16, 2011 at 4:59 PM, Oliver Schmidt <ol.sc@web.de> wrote:
> Hi David,
>
>> The trouble
>> is - now that it's changed, I'm unable to generate listings for my
>> project in ant when I'm assembling things as part of a fileset.
>> [...]
>
> I don't understand ant but would like to mention that the dependency
> file option was changed too. Maybe you happen to not need / want them.
> But in general a build tool used for controlling cc65 should be able
> to cope with that type of stuff - or am I missing the point?

Yes, of course you're right.  I was handicapped by ant's lack of
printing what it was actually putting on the command line (I'm sure
there's a debug mode that would enable that).  But fooling with the
arguments enough, I was able to arrive at what I expected, since ca65
doesn't need me to explicitly specify that I want both a .o and a .lst
because .o is assumed.  Here is the corrected production in my
situation:
<apply executable="${assemblerPath}/ca65"
dir="${projdir}/client/src/ip65/drivers" relative="true">
	<fileset dir="${projdir}/client/src/ip65/drivers" includes="**/*.s"/>
	<arg value="-t"/>
	<arg value="c64"/>
	<arg value="-l"/>
	<mapper type="glob" from="*.s" to="*.lst"/>
	<targetfile/>
	<srcfile/>
</apply>
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Feb 16 23:40:26 2011

This archive was generated by hypermail 2.1.8 : 2011-02-16 23:40:28 CET