Next: ede-compiler, Up: Compilers [Contents]
eieio-instance-inheritor
ede-compilation-program
See ede-compiler, See ede-linker.
:parent-instance
Type: eieio-instance-inheritor-child
The parent of this instance. If a slot of this class is reference, and is unbound, then the parent is checked for a value.
:name
Type: string
Name of this type of compiler.
:variables
Type: list
Variables needed in the Makefile for this compiler. An assoc list where each element is (VARNAME . VALUE) where VARNAME is a string, and VALUE is either a string, or a list of strings. For example, GCC would define CC=gcc, and emacs would define EMACS=emacs.
:sourcetype
Type: list
A list of ede-sourcecode
See ede-sourcecode. objects this class will handle.
This is used to match target objects with the compilers and linkers
they can use, and which files this object is interested in.
:rules
Type: list
Default Value: nil
Auxiliary rules needed for this compiler to run. For example, yacc/lex files need additional chain rules, or inferences.
:commands
Type: list
The commands used to execute this compiler. The object which uses this compiler will place these commands after its rule definition.
:autoconf
Type: list
Default Value: nil
Autoconf function to call if this type of compiler is used. When a project is in Automake mode, this defines the autoconf function to call to initialize automake to use this compiler. For example, there may be multiple C compilers, but they all probably use the same autoconf form.
:objectextention
Type: string
A string which is the extension used for object files. For example, C code uses .o on unix, and Emacs Lisp uses .elc.
Flush the configure file (current buffer) to accommodate THIS.
Insert rules needed for THIS compiler object.
Insert variables needed by the compiler THIS.
Insert the commands needed to use compiler THIS. The object creating makefile rules must call this method for the compiler it decides to use after inserting in the rule.
Retrieves the slot sourcetype
from an object of class ede-compilation-program
Tweak the configure file (current buffer) to accommodate THIS.
Next: ede-compiler, Up: Compilers [Contents]