mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +00:00
Added a paragraph about the order in which the command line is parsed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4647 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
186657e5ad
commit
c63ecc8c28
@ -205,6 +205,19 @@ package, it tries to be smart about several things.
|
||||
cases, just give the name of your "main" file as first input file.
|
||||
</itemize>
|
||||
|
||||
The command line is parsed from left to right, and the actual processing tool
|
||||
(compiler, assembler, ...) is invoked whenever a file name is encountered.
|
||||
This means that only the options to the left of a file name are in effect when
|
||||
this file is processed. It does also mean that you're able to specify
|
||||
different options for different files on the command line. As an example.
|
||||
|
||||
<tscreen><verb>
|
||||
cl65 -Oirs main.c -O -g module.c
|
||||
</verb></tscreen>
|
||||
|
||||
translates main.c with full optimization and module.c with less optimization
|
||||
and debug info enabled.
|
||||
|
||||
The type of an input file is derived from its extension:
|
||||
|
||||
<itemize>
|
||||
|
Loading…
Reference in New Issue
Block a user