gac(1)

gac1

The gap compiler

Usage

gac [{-c | -d}] [-o <output>] -f<option> <input> ...

Overview

GAC compiles the input files. Input files must be GAP source code (suffix '.g' or '.gap'), C source code (suffix '.c'), or compiled code files (suffix '.o').

-c

Compiles the input files to statically loadable object files, which must be linked together to a new kernel.

-d

Compiles the input files to dynamically loadable object files, which can be loaded by a kernel at runtime.

-C

Only compiles the input files to C code, which will require compilation and linking to be usable.

-r

Statically compiled files will be assumed to be given by pathnames relative to the GAP root, and will be compiled for automatic loading when files are sought relative to the GAP root.

-o <output>

Name the output file <output>.

-save-temps

Tells 'gac' to not delete any intermediate files

-p <option>

Pass the option <option> to the C compiler.

-P <option>

Pass the option <option> to the C linker.

-L <option>

Tells 'gac' to pass the option <option> to the C linker when linking dynamic modules. Contrary to -P the option is appended at the end of the link command after the .o files to link.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0–8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

-L since Debian 10 (Buster); -save-temps since Debian 10 (Buster).

-ffast-int-arith until Debian 9 (Stretch); -ffast-list-funcs until Debian 9 (Stretch); -ffast-plain-lists until Debian 9 (Stretch); -fno-check-types until Debian 9 (Stretch).

Authors

The GAP Group <https://www.gap-system.org>

From gap-dev 4.14.0-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.