Re: [cc65] "dry run" option for cl65?

From: Greg King <greg.king41verizon.net>
Date: 2010-12-02 23:50:09
From: "Agent Friday"; on Monday, November 29, 2010; at 07:19 PM -0500
>

> > No. But, as far as I remember,
> > using -v will print the commands before executing them.
>
> That's fair enough.  Overwriting the output files is not a
> big problem.  Thanks!

If you do ever need to avoid overwriting, then you can "cheat":

% cd /ram
% cat do-nothing.c
int main(int argc, char **argv) {
    return 0;
    }
% cc -o do-nothing do-nothing.c
% ln do-nothing cc65
% ln do-nothing ca65
% ln do-nothing ld65
% PATH=/ram:$PATH cl65 -d do-nothing.c
cl65: Cannot remove temporary file `do-nothing.s': No such file or
directory
Executing: cc65 -d -t c64 do-nothing.c
Executing: ca65 -t c64 do-nothing.s
Executing: ld65 -t c64 -o do-nothing do-nothing.o c64.lib

----------------------------------------------------------------------
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 Dec 2 23:54:33 2010

This archive was generated by hypermail 2.1.8 : 2010-12-02 23:54:36 CET