Re: [cc65] cl65 ignoring -I option for assembler files, while ca65 does not?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-03-13 21:00:10
On Sun, Mar 13, 2005 at 05:22:41PM +0100, Spiro Trikaliotis wrote:
> I believe cl65 called for assembler files ignores the -I (--include-dir)
> option (line breaks with \ by me), while ca65 does not:

The -I option is ambigous, because it means different things to ca65 and cc65.
cl65 allows to compile both, asm and C files in one go, and usually C and asm
includes don't share the same directory, so it wouldn't be a good idea to pass
directories given with -I to both, the assembler and compiler. Obviously, two
different command line switches are needed, and since it is more common to
compile C files using cl65, the -I option is only passed to the C compiler.
For assembler include directories there's a separate option named
--asm-include-dir.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Mar 13 21:00:14 2005

This archive was generated by hypermail 2.1.8 : 2005-03-13 21:00:21 CET