Re: [cc65] some patches

From: <silverdr1wfmh.org.pl>
Date: 2010-03-16 21:24:31
On 2010-03-16, at 20:31, Ullrich von Bassewitz wrote:
>
> Creating a new library with read/write replacement routines can be  
> easily done
> with just 3 commands:
>
>        # Compile the replacement modules
>        cl65 -Oirs -c -t c64 write.s read.s
>
>        # Create a copy of the library
>        cp c64.lib ide64.lib
>
>        # Replace library modules
>        ar65 a ide64.lib write.o read.o
>

That's it. Now one can use ifdefs in the makefile:

ifdef IDE64
LIB = c64_ide64.lib
else
LIB = c64.lib
endif

rather than in the source code, right?

> So if anybody offers these modules for download, creating a  
> replacement
> library is really easy.

Now - for it to make it to mainstream, instead of patches to the  
original read/write or anything - can't we simply have those two files  
in the source tree and add the three commands above to the build  
process? Even conditionally or so?

Regards,

-- 
SD!
----------------------------------------------------------------------
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 Mar 16 21:24:45 2010

This archive was generated by hypermail 2.1.8 : 2010-03-16 21:24:48 CET