From: cuz Date: Wed, 23 Aug 2000 14:22:12 +0000 (+0000) Subject: Add new command line options X-Git-Tag: V2.12.0~3218 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=83bb3aab94c2255c1804c7308e6c87010941212a;p=cc65 Add new command line options git-svn-id: svn://svn.cc65.org/cc65/trunk@305 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/cl65.sgml b/doc/cl65.sgml index a309e18b8..fb2516c11 100644 --- a/doc/cl65.sgml +++ b/doc/cl65.sgml @@ -60,6 +60,7 @@ Long options: --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 @@ -104,11 +105,11 @@ There are a few remaining options that control the behaviour of cl65: -t sys, --target sys - 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. diff --git a/doc/ld65.txt b/doc/ld65.txt index ffee84025..294cb78d5 100644 --- a/doc/ld65.txt +++ b/doc/ld65.txt @@ -64,10 +64,10 @@ The linker is called as follows: --------------------------------------------------------------------------- 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 @@ -78,7 +78,9 @@ Short options: 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 --------------------------------------------------------------------------- @@ -88,8 +90,9 @@ Long options: 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 @@ -104,7 +107,8 @@ Long options: 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 @@ -170,7 +174,7 @@ Long options: 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