Re: [cc65] Documentation: combining switches -t and -C

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-11-28 21:59:38
On Sun, Nov 28, 2010 at 08:46:26AM -0800, Agent Friday wrote:
> Is the ability to specify a target /in addition to/ a custom config
> file a relatively new thing?  The docs still say you can't do that...
>
> http://www.cc65.org/doc/ld65-2.html#ss2.2

That is still true. You can use either -t or -C with the linker. You can
however pass -C *and* -t to the cl65 utility, which will pass -t to the
compiler and assembler and -C to the linker.

> This reminds me of a follow-up.  I could not find a clear statement
> in the documentation of exactly what the -t option sets up for you.

That depends on the tool. For assembler/compiler it's the character map. For
the linker, it's the config. And for the cl65 utility, it's the library.

> There may be a couple of indirect references, but I think that it
> should be stated definitively where the -t option is explained.
                     
With the exception of cl65, this is already the case:

        http://www.cc65.org/doc/ld65-2.html#option-t
        http://www.cc65.org/doc/ca65-2.html#option-t

For cl65, the section describing the command line switches is very short
because most switches are duplicated from one of the tools. But when the
function is described in

        http://www.cc65.org/doc/cl65-3.html

it is clearly mentioned that tool will suply the library name.

> In my opinion, there should be some way to manually specify
> every individual option that is included in the target "package
> deal".

This is already the case. See above.

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 Nov 28 22:00:01 2010

This archive was generated by hypermail 2.1.8 : 2010-11-28 22:00:03 CET