Compiler

The Compiler element specifies the compiler executable used in your build environment. The value of this element must be an absolute path to an executable. This element consists of one optional attribute, macro, which specifies the name of the variable that stores the compiler executable when building and a value specific to the path to the compiler. If you do not specify the macro attribute, Ounce/Make sets the macro attribute to CC by default. The Properties File can contain multiple Compiler elements, but at least one is required.

The value for the macro attribute must be unique across all Compiler elements. For example, you cannot list CC as a macro attribute more than once.

Example

<Compiler macro=CXX>/usr/bin/gcc</Compiler>

Description

CXX: Your makefiles reference this compiler with the CXX macro.

/usr/bin/gcc: Tells Ounce/Make that you use the /usr/bin/gcc compiler.