User Tools

Site Tools


command_line

This is an old revision of the document!


Command Line

The 10LC compiler executable contains the all of the functionality of the compiler itself as well as its other utility features. The feature/operation selected is done via command line parameters.

There are four modes that the executable can operate in:

  • Compiler mode
  • Serial Transfer Mode (Transmit)
  • Serial Transfer Mode (Receive)
  • Signature Calculation

Selection of a particular mode of operation is done via the first command line parameter passed to the executable. If you launch the executable with no command line parameters, it will show the supported parameters:

ERROR(S):
  No verb selected.

  Signature    Calculate signatures for files
  Compile      Compile a 10LC file
  Transmit     Transmit a compiled file (hexfile) to a connected 9010A
  Receive      Receive data from a connected 9010A
  help         Display more information on a specific command.
  version      Display version information.

More information on supported modes (“verbs”) can be shown by running the executable with the help verb followed by one of the supported verbs. For example, launching the executable with the help compile command line parameters will show the following:

  -v, --Verbosity    (Default: Warning) Compiler verbosity (message level)
  -n, --NoColor      (Default: false) No color - do not colorize console output
  -o, --Options      (Default: None) Compiler options
  -f, --File         Required. 10LC files to compile
  --help             Display this help screen.
  --version          Display version information.

Compile Mode

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
-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.)
-o --Options Sets one or more compiler options. Supported options are listed below.
-f --File Indicates the files (one or more) that are to be compiled

For example, to compile a 10C file at C:\TenLCStuff\Script.s with no options and verbosity set to Verbose:

Fluke10LCCompiler Compile -vVerbose -o None --file C:\TenLCStuff\Script.s
command_line.1581795344.txt.gz · Last modified: 2020/02/15 13:35 by adminz