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,32 +54,34 @@ The compiler may be called as follows:
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
Usage: cc65 [options] file Usage: cc65 [options] file
Short options: Short options:
-d Debug mode -A Strict ANSI mode
-g Add debug info to object file -Cl Make local variables static
-h Help (this text) -Dsym[=defn] Define a symbol
-j Default characters are signed -I dir Set an include directory search path
-o name Name the output file -O Optimize code
-t sys Set the target system -Oi Optimize code, inline more code
-v Increase verbosity -Or Enable register variables
-A Strict ANSI mode -Os Inline some known functions
-Cl Make local variables static -T Include source as comment
-Dsym[=defn] Define a symbol -V Print the compiler version number
-I dir Set an include directory search path -W Suppress warnings
-O Optimize code -d Debug mode
-Oi Optimize code, inline more code -g Add debug info to object file
-Or Enable register variables -h Help (this text)
-Os Inline some known functions -j Default characters are signed
-T Include source as comment -o name Name the output file
-V Print the compiler version number -t sys Set the target system
-W Suppress warnings -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

@@ -34,42 +34,56 @@ assembler) and other things.
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
Usage: cl65 [options] file Usage: cl65 [options] file
Short options: Short options:
-A Strict ANSI mode -A Strict ANSI mode
-C name Use linker config file -C name Use linker config file
-Cl Make local variables static -Cl Make local variables static
-D sym[=defn] Define a preprocessor symbol -D sym[=defn] Define a preprocessor symbol
-I dir Set a compiler include directory path -I dir Set a compiler include directory path
-Ln name Create a VICE label file -Ln name Create a VICE label file
-O Optimize code -O Optimize code
-Oi Optimize code, inline functions -Oi Optimize code, inline functions
-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
-V Print the version number -T Include source as comment
-W Suppress warnings -V Print the version number
-c Compiler and assemble but don't link -W Suppress warnings
-d Debug mode -c Compiler and assemble but don't link
-g Add debug info -d Debug mode
-h Help (this text) -g Add debug info
-m name Create a map file -h Help (this text)
-o name Name the output file -l Create an assembler listing
-t sys Set the target system -m name Create a map file
-v Verbose mode -o name Name the output file
-vm Verbose map file -t sys Set the target system
-v Verbose mode
-vm Verbose map file
Long options: Long options:
--ansi Strict ANSI mode --add-source Include source as comment
--asm-include-dir dir Set an assembler include directory --ansi Strict ANSI mode
--cpu type Set cpu type --asm-include-dir dir Set an assembler include directory
--debug Debug mode --bss-name seg Set the name of the BSS segment
--debug-info Add debug info --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
--create-dep Create a make dependency file
--data-name seg Set the name of the DATA segment
--debug Debug mode
--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
--mapfile name Create a map file --listing Create an assembler listing
--target sys Set the target system --mapfile name Create a map file
--version Print the version number --rodata-name seg Set the name of the RODATA segment
--verbose Verbose mode --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
--version Print the version number
--verbose Verbose mode
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
</verb></tscreen> </verb></tscreen>