--debug-info Add debug info
--help Help (this text)
--include-dir dir Set a compiler include directory path
+ --mapfile name Create a map file
--target sys Set the target system
--version Print the version number
--verbose Verbose mode
<tag><tt>-t sys, --target sys</tt></tag>
- The default for this option is different from the compiler and linker in
- the case that the option is missing: While the compiler and linker will
- use the "none" system settings by default, cl65 will use the C64 as a
- target system by default. This was choosen since most people seem to use
- cc65 to develop for the C64.
+ The default for this option is different from the compiler and linker in the
+ case that the option is missing: While the other tools (compiler, assembler
+ and linker) will use the "none" system settings by default, cl65 will use
+ the C64 as a target system by default. This was choosen since most people
+ seem to use cc65 to develop for the C64.
</descrip>
---------------------------------------------------------------------------
Usage: ld65 [options] module ...
Short options:
- -h Help (this text)
- -m name Create a map file
- -o name Name the default output file
- -t type Type of target system
+ -h Help (this text)
+ -m name Create a map file
+ -o name Name the default output file
+ -t sys Set the target system
-v Verbose mode
-vm Verbose map file
-C name Use linker config file
Long options:
--help Help (this text)
- --version Print the linker version
+ --mapfile name Create a map file
+ --target sys Set the target system
+ --version Print the linker version
---------------------------------------------------------------------------
Print the short option summary shown above.
- -m name
-
+ -m name
+ --mapfile name
+
This option (which needs an argument that will used as a filename for
the generated map file) will cause the linker to generate a map file.
The map file does contain a detailed overview over the modules used, the
name for the output file. However, for the builtin configurations, this
name is used for the output file name.
- -t target
+ -t sys
+ --target sys
The argument for the -t switch is the name of the target system. Since
this switch will activate a builtin configuration, it may not be used
address is used depends on the config file in use. For the builtin
configurations, only the "none" system honors an explicit start address,
all other builtin config provide their own.
-
+
-V
--version