1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

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
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.
<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>
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/.
<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
normally not needed.

View File

@ -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
---------------------------------------------------------------------------
</verb></tscreen>