Next: Mapping File Related Attributes, Up: Package Compiler [Contents][Index]
Specifies the name of the executable for the compiler of a language. The single string value of this attribute may be an absolute path or a relative path. If relative, then the execution path is searched. Specifying the empty string for this attribute indicates that there is no compiler for the language.
Examples:
for Driver ("C++") use "g++"; for Driver ("Ada") use "/.../bin/gcc"; for Driver ("Project file") use "";
Specifies the minimum options that must be used when invoking the compiler of a language. Examples:
for Required_Switches ("C") use ("-c", "-x", "c"); for Required_Switches ("Ada") use ("-c", "-x", "ada", "-gnatA");
Specifies the option or options that must be used when compiling a source of a language to be put in a shared library. Example:
for PIC_Option ("C") use ("-fPIC");