Updated the option list

git-svn-id: svn://svn.cc65.org/cc65/trunk@1001 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-10-02 18:56:40 +00:00
parent 63b2c252a5
commit 22dd82ae8a
2 changed files with 75 additions and 52 deletions

View File

@@ -54,13 +54,6 @@ The compiler may be called as follows:
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
Usage: cc65 [options] file Usage: cc65 [options] file
Short options: Short options:
-d Debug mode
-g Add debug info to object file
-h Help (this text)
-j Default characters are signed
-o name Name the output file
-t sys Set the target system
-v Increase verbosity
-A Strict ANSI mode -A Strict ANSI mode
-Cl Make local variables static -Cl Make local variables static
-Dsym[=defn] Define a symbol -Dsym[=defn] Define a symbol
@@ -72,14 +65,23 @@ Short options:
-T Include source as comment -T Include source as comment
-V Print the compiler version number -V Print the compiler version number
-W Suppress warnings -W Suppress warnings
-d Debug mode
-g Add debug info to object file
-h Help (this text)
-j Default characters are signed
-o name Name the output file
-t sys Set the target system
-v Increase verbosity
Long options: Long options:
--add-source Include source as comment
--ansi Strict ANSI mode --ansi Strict ANSI mode
--bss-name seg Set the name of the BSS segment --bss-name seg Set the name of the BSS segment
--check-stack Generate stack overflow checks --check-stack Generate stack overflow checks
--code-name seg Set the name of the CODE segment --code-name seg Set the name of the CODE segment
--codesize x Accept larger code by factor x --codesize x Accept larger code by factor x
--cpu type Set cpu type --cpu type Set cpu type
--create-dep Create a make dependency file
--data-name seg Set the name of the DATA segment --data-name seg Set the name of the DATA segment
--debug Debug mode --debug Debug mode
--debug-info Add debug info to object file --debug-info Add debug info to object file
@@ -144,6 +146,13 @@ Here is a description of all the command line options:
overwhelming. overwhelming.
<tag><tt>--create-dep</tt></tag>
Tells the compiler to generate a file containing the dependency list for
the compiled module in makefile syntax. The file is named as the C input
file with the extension replaced by <tt/.u/.
<tag><tt>-d, --debug</tt></tag> <tag><tt>-d, --debug</tt></tag>
Enables debug mode, something that should not be needed for mere Enables debug mode, something that should not be needed for mere
@@ -293,7 +302,7 @@ Here is a description of all the command line options:
<tt/-Ors/. <tt/-Ors/.
<tag><tt>-T</tt></tag> <tag><tt>-T, --add-source</tt></tag>
This include the source code as comments in the generated code. This is This include the source code as comments in the generated code. This is
normally not needed. normally not needed.

View File

@@ -45,12 +45,14 @@ Short options:
-Or Optimize code, honour the register keyword -Or Optimize code, honour the register keyword
-Os Optimize code, inline known C funtions -Os Optimize code, inline known C funtions
-S Compile but don't assemble and link -S Compile but don't assemble and link
-T Include source as comment
-V Print the version number -V Print the version number
-W Suppress warnings -W Suppress warnings
-c Compiler and assemble but don't link -c Compiler and assemble but don't link
-d Debug mode -d Debug mode
-g Add debug info -g Add debug info
-h Help (this text) -h Help (this text)
-l Create an assembler listing
-m name Create a map file -m name Create a map file
-o name Name the output file -o name Name the output file
-t sys Set the target system -t sys Set the target system
@@ -58,15 +60,27 @@ Short options:
-vm Verbose map file -vm Verbose map file
Long options: Long options:
--add-source Include source as comment
--ansi Strict ANSI mode --ansi Strict ANSI mode
--asm-include-dir dir Set an assembler include directory --asm-include-dir dir Set an assembler include directory
--bss-name seg Set the name of the BSS segment
--check-stack Generate stack overflow checks
--code-name seg Set the name of the CODE segment
--codesize x Accept larger code by factor x
--cpu type Set cpu type --cpu type Set cpu type
--create-dep Create a make dependency file
--data-name seg Set the name of the DATA segment
--debug Debug mode --debug Debug mode
--debug-info Add debug info --debug-info Add debug info
--feature name Set an emulation feature --feature name Set an emulation feature
--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
--listing Create an assembler listing
--mapfile name Create a map file --mapfile name Create a map file
--rodata-name seg Set the name of the RODATA segment
--signed-chars Default characters are signed
--start-addr addr Set the default start address
--static-locals Make local variables static
--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