gec PreviousNext

Description

Execute gec.

Parameters

ace
Description: Name of Ace file

Domain: Valid filename pointing to existing file

Default: -

finalize
Description: Should system be compiled in finalized mode?

Domain: Boolean (true|false)

Default: false

gelint
Description: Should gelint be run on the full content of each class being compiled?

Domain: Boolean (true|false)

Default: false

cat
Description: Should CAT-call errors be considered as fatal errors?

Domain: Boolean (true|false)

Default: false

split
Description: Should C code be generated into several files?

Domain: Boolean (true|false)

Default: true

split_size
Description: Size (in bytes) of generated C files in bytes when in split mode

Domain: Positive integer

Default: 1,000,000 bytes

c_compile
Description: Launch C compilation

Domain: Boolean (true|false)

Default: true

gc
Description: Which garbage collector should the application be compiled with?

Domain: (no|boehm)

Default: no

clean
Description: clean

Domain: valid system name

Default: empty string

exit_code_variable
Description: Name of variable holding the 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="gec">
    <element name="gec">
      <ref name="dir_if_unless"/>
      <choice>
        <group>
          <attribute name="ace"/>
          <optional>
            <attribute name="finalize"/>
          </optional>
          <optional>
            <attribute name="gelint"/>
          </optional>
          <optional>
            <attribute name="cat"/>
          </optional>
          <optional>
            <attribute name="split"/>
          </optional>
          <optional>
            <attribute name="split_size"/>
          </optional>
          <optional>
            <attribute name="c_compile"/>
          </optional>
          <optional>
            <attribute name="gc"/>
          </optional>
        </group>
        <attribute name="clean"/>
        <optional>
          <attribute name="exit_code_variable"/>
        </optional>
      </choice>
    </element>
  </define>

	

Examples

  <gec ace="ge.ace"/>

  <gec ace="ge.ace" finalize="true"/>

  <gec clean="${system}"/>

	

Copyright 2006-2009, Eric Bezault
mailto:ericb@gobosoft.com
http://www.gobosoft.com
Last Updated: 11 March 2006
HomeTocPreviousNext