Add new command line options
git-svn-id: svn://svn.cc65.org/cc65/trunk@305 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -60,6 +60,7 @@ Long options:
|
|||||||
--debug-info Add debug info
|
--debug-info Add debug info
|
||||||
--help Help (this text)
|
--help Help (this text)
|
||||||
--include-dir dir Set a compiler include directory path
|
--include-dir dir Set a compiler include directory path
|
||||||
|
--mapfile name Create a map file
|
||||||
--target sys Set the target system
|
--target sys Set the target system
|
||||||
--version Print the version number
|
--version Print the version number
|
||||||
--verbose Verbose mode
|
--verbose Verbose mode
|
||||||
@@ -104,11 +105,11 @@ There are a few remaining options that control the behaviour of cl65:
|
|||||||
|
|
||||||
<tag><tt>-t sys, --target sys</tt></tag>
|
<tag><tt>-t sys, --target sys</tt></tag>
|
||||||
|
|
||||||
The default for this option is different from the compiler and linker in
|
The default for this option is different from the compiler and linker in the
|
||||||
the case that the option is missing: While the compiler and linker will
|
case that the option is missing: While the other tools (compiler, assembler
|
||||||
use the "none" system settings by default, cl65 will use the C64 as a
|
and linker) will use the "none" system settings by default, cl65 will use
|
||||||
target system by default. This was choosen since most people seem to use
|
the C64 as a target system by default. This was choosen since most people
|
||||||
cc65 to develop for the C64.
|
seem to use cc65 to develop for the C64.
|
||||||
|
|
||||||
</descrip>
|
</descrip>
|
||||||
|
|
||||||
|
|||||||
16
doc/ld65.txt
16
doc/ld65.txt
@@ -64,10 +64,10 @@ The linker is called as follows:
|
|||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
Usage: ld65 [options] module ...
|
Usage: ld65 [options] module ...
|
||||||
Short options:
|
Short options:
|
||||||
-h Help (this text)
|
-h Help (this text)
|
||||||
-m name Create a map file
|
-m name Create a map file
|
||||||
-o name Name the default output file
|
-o name Name the default output file
|
||||||
-t type Type of target system
|
-t sys Set the target system
|
||||||
-v Verbose mode
|
-v Verbose mode
|
||||||
-vm Verbose map file
|
-vm Verbose map file
|
||||||
-C name Use linker config file
|
-C name Use linker config file
|
||||||
@@ -78,7 +78,9 @@ Short options:
|
|||||||
|
|
||||||
Long options:
|
Long options:
|
||||||
--help Help (this text)
|
--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
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
@@ -89,6 +91,7 @@ Long options:
|
|||||||
|
|
||||||
|
|
||||||
-m name
|
-m name
|
||||||
|
--mapfile name
|
||||||
|
|
||||||
This option (which needs an argument that will used as a filename for
|
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 generated map file) will cause the linker to generate a map file.
|
||||||
@@ -104,7 +107,8 @@ Long options:
|
|||||||
name for the output file. However, for the builtin configurations, this
|
name for the output file. However, for the builtin configurations, this
|
||||||
name is used for the output file name.
|
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
|
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
|
this switch will activate a builtin configuration, it may not be used
|
||||||
|
|||||||
Reference in New Issue
Block a user