From: cuz Date: Tue, 2 Oct 2001 18:56:40 +0000 (+0000) Subject: Updated the option list X-Git-Tag: V2.12.0~2588 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=22dd82ae8a911e64a8629556a286a69c60c3505d;p=cc65 Updated the option list git-svn-id: svn://svn.cc65.org/cc65/trunk@1001 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 9ddefe485..406ac33bf 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -54,32 +54,34 @@ The compiler may be called as follows: --------------------------------------------------------------------------- Usage: cc65 [options] file 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 - -Cl Make local variables static - -Dsym[=defn] Define a symbol - -I dir Set an include directory search path - -O Optimize code - -Oi Optimize code, inline more code - -Or Enable register variables - -Os Inline some known functions - -T Include source as comment - -V Print the compiler version number - -W Suppress warnings + -A Strict ANSI mode + -Cl Make local variables static + -Dsym[=defn] Define a symbol + -I dir Set an include directory search path + -O Optimize code + -Oi Optimize code, inline more code + -Or Enable register variables + -Os Inline some known functions + -T Include source as comment + -V Print the compiler version number + -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: + --add-source Include source as comment --ansi Strict ANSI mode --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 + --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 to object file @@ -144,6 +146,13 @@ Here is a description of all the command line options: overwhelming. + --create-dep + + 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 -d, --debug 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: -T + -T, --add-source This include the source code as comments in the generated code. This is normally not needed. diff --git a/doc/cl65.sgml b/doc/cl65.sgml index 47281e37c..d90301ebe 100644 --- a/doc/cl65.sgml +++ b/doc/cl65.sgml @@ -34,42 +34,56 @@ assembler) and other things. --------------------------------------------------------------------------- Usage: cl65 [options] file Short options: - -A Strict ANSI mode - -C name Use linker config file - -Cl Make local variables static - -D sym[=defn] Define a preprocessor symbol - -I dir Set a compiler include directory path - -Ln name Create a VICE label file - -O Optimize code - -Oi Optimize code, inline functions - -Or Optimize code, honour the register keyword - -Os Optimize code, inline known C funtions - -S Compile but don't assemble and link - -V Print the version number - -W Suppress warnings - -c Compiler and assemble but don't link - -d Debug mode - -g Add debug info - -h Help (this text) - -m name Create a map file - -o name Name the output file - -t sys Set the target system - -v Verbose mode - -vm Verbose map file + -A Strict ANSI mode + -C name Use linker config file + -Cl Make local variables static + -D sym[=defn] Define a preprocessor symbol + -I dir Set a compiler include directory path + -Ln name Create a VICE label file + -O Optimize code + -Oi Optimize code, inline functions + -Or Optimize code, honour the register keyword + -Os Optimize code, inline known C funtions + -S Compile but don't assemble and link + -T Include source as comment + -V Print the version number + -W Suppress warnings + -c Compiler and assemble but don't link + -d Debug mode + -g Add debug info + -h Help (this text) + -l Create an assembler listing + -m name Create a map file + -o name Name the output file + -t sys Set the target system + -v Verbose mode + -vm Verbose map file Long options: - --ansi Strict ANSI mode - --asm-include-dir dir Set an assembler include directory - --cpu type Set cpu type - --debug Debug mode - --debug-info Add debug info + --add-source Include source as comment + --ansi Strict ANSI mode + --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 + --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 - --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 + --help Help (this text) + --include-dir dir Set a compiler include directory path + --listing Create an assembler listing + --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 + --version Print the version number + --verbose Verbose mode ---------------------------------------------------------------------------