| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| command_line [2020/04/12 16:41] – [Command Line] jtwine | command_line [2025/08/09 20:47] (current) – [Compile Mode] jtwine |
|---|
| Compile mode is specified by passing "compile" as the first command line parameter. After that, the following switches are supported: | Compile mode is specified by passing "compile" as the first command line parameter. After that, the following switches are supported: |
| |
| ^Short Form ^Long Form ^Description ^ | ^Short Form ^Long Form ^Description ^ |
| | ''-V'' | ''%%--%%Verbosity'' | Sets the verbosity of the compiler. Supported verbosity values are ''Debug'', ''Verbose'', ''Info'', ''Warning'', and ''Error''. The default verbosity setting is ''Warning''. | | | ''-V'' | ''%%--%%Verbosity'' | Sets the verbosity of the compiler. Supported verbosity values are ''Debug'', ''Verbose'', ''Info'', ''Warning'', and ''Error''. The default verbosity setting is ''Warning''. | |
| | ''-N'' | ''%%--%%NoColor'' | Disables the coloring of console output. By default, console output is colored according to the severity of the output (i.e. errors in red, warnings in yellow, etc.) | | | ''-N'' | ''%%--%%NoColor'' | Disables the coloring of console output. By default, console output is colored according to the severity of the output (i.e. errors in red, warnings in yellow, etc.) | |
| | ''-O'' | ''%%--%%Options'' | Sets one or more compiler options. Supported options are listed below. | | | ''-O'' | ''%%--%%Options'' | Sets one or more compiler options. Supported options are listed below. | |
| | | ''-W'' | ''%%--%%DisableWarnings'' | Sets one or more warnings that are to be disabled (suppressed). | |
| | ''-F'' | ''%%--%%File'' | Indicates the files (one or more) that are to be compiled | | | ''-F'' | ''%%--%%File'' | Indicates the files (one or more) that are to be compiled | |
| |
| == Compiler Options == | == Compiler Options == |
| ^ Option ^ Description ^ | ^ Option ^ Description ^ |
| | WarningsAreErrors | Treats all warnings as errors and stops compilation when the first warning is emitted | | | ''None'' | No option set (this is the default)| |
| | NoPreDefines | Does not define the legacy Aliases for registers (''BITMASK'', ''ROMSIG'', etc.) | | | ''WarningsAreErrors'' | Treats all warnings as errors and stops compilation when the first warning is emitted | |
| | IgnoreMissingPrograms | Normally, if a file references a problem that is not found at the end of compilation, an error is emitted. This option causes that situation to be ignored. | | | ''NoPreDefines'' | Does not define the legacy Aliases for registers (''BITMASK'', ''ROMSIG'', etc.) | |
| | UseNumericProgramNames | By default, all Program names are treated as symbolic identifiers. This causes numeric Program names to be converted to numeric program numbers and not be auto-numbered. | | | ''IgnoreMissingPrograms'' | Normally, if a file references a problem that is not found at the end of compilation, an error is emitted. This option causes that situation to be ignored. | |
| | DisableOptimizations | This option disables all optimizations | | | ''UseNumericProgramNames'' | By default, all Program names are treated as symbolic identifiers. This causes numeric Program names to be converted to numeric program numbers and not be auto-numbered. | |
| | EnableIntrinsicCommands | This option enables the new intrinsic statements supported by 10LC. When this option is enabled, program 99 is reserved and used for the implementation of intrinsic statements. | | | ''DisableOptimizations'' | This option disables all optimizations | |
| | DebugStep | This option causes generation of a special program (program 98) and inserts calls to this program between lines of code. The program shows the program line number and waits for you to press **<Enter/Yes>** or **<Clear/No>** and stores the result in Register E. Better to use Compiler Directives for this option so it can be turned on and off selectively. | | | ''EnableIntrinsicCommands'' | This option enables the new intrinsic statements supported by 10LC. When this option is enabled, program 99 is reserved and used for the implementation of intrinsic statements. | |
| | | ''DebugStep'' | This option causes generation of a special program (program 98) and inserts calls to this program between lines of code. The program shows the program line number and waits for you to press **<Enter/Yes>** or **<Clear/No>** and stores the result in Register E. Better to use Compiler Directives for this option so it can be turned on and off selectively. | |
| |
| |
| |
| ^Short Form ^Long Form ^Description ^ | ^Short Form ^Long Form ^Description ^ |
| | ''-M'' | ''%%--%%Verbosity'' | Specifies minimal output | | | ''-M'' | ''%%--%%Minimal'' | Specifies minimal output | |
| | ''-C'' | ''%%--%%Port'' | Specifies CSV output | | | ''-C'' | ''%%--%%CSV'' | Specifies CSV output | |
| | ''-F'' | ''%%--%%File'' | Indicates the files that should be processed | | | ''-F'' | ''%%--%%File'' | Indicates the files that should be processed | |
| |