gecc PreviousNext

Description

Execute gecc.

Parameters

script
Description: Name of script file

Domain: Valid filename pointing to existing file

Default: -

thread
Description: Number of threads to be used to run gec. Negative numbers -N mean "number of CPUs - N"

Domain: Integer

Default: -3, aka "max (number of CPUs -3, 1)"

executable
Description: Filename (optionally with a pathname) of gecc executable.

Domain: Valid filename pointing to existing executable

Default: Version of 'gecc' in the PATH

exit_code_variable
Description: Name of variable holding the C compiler process's return code after it's run

Domain: Integer (usually 0 for OK, and any other number for not OK)

Default: `Void' (no variable is set if attribute is not specified)

RNG Specification

  <define name="gecc">
    <element name="gecc">
      <ref name="dir_if_unless"/>
      <attribute name="script"/>
      <optional>
        <attribute name="thread"/>
      </optional>
      <optional>
        <attribute name="executable"/>
      </optional>
      <optional>
        <attribute name="exit_code_variable"/>
      </optional>
    </element>
  </define>

	

Examples

  <gecc script="my_program.bat"/>

  <gecc script="my_program.sh" thread="4"/>

	

Copyright © 2023, Eric Bezault
mailto:ericb@gobosoft.com
https://www.gobosoft.com
Last Updated: 20 December 2023
HomeTocPreviousNext