Previous: ede-object-compiler, Up: Compilers [Contents]

#### 8.10.4 ede-linker

Inheritance Tree:
  `eieio-instance-inheritor`
    `See ede-compilation-program.`
      `ede-linker`

        No children

Create a new object with name NAME of class type ede-linker

Slots:
  `: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.

  `:commands`

    Type: `list`

    The commands used to execute this compiler. The object which uses this compiler will place these commands after it’s rule definition.

  `: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.