gac - Online in the Cloud

This is the command gac that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


GAC - The GAP Compiler

SYNOPSIS


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

DESCRIPTION


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').

If neither -c nor -d is given, then 'gac' produces
a new kernel, which contains the compiled code for all the input files.

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

-ffast-int-arith
Emit code for arithmetic operations, which works faster if both operands are
small integers and slower otherwise.

-ffast-plain-lists
Emit code for list access, which works faster if the list is a plain list and
slower otherwise.

-ffast-list-funcs
Inline the functions 'Add' and 'Length' the code, which makes it a bit faster.

-fno-check-types
Emit no error checks for list access, which makes it faster but may dump core if
an error happens.

-p <option>
Pass the option <option> to the C compiler.

-P <option>
Pass the option <option> to the C linker.

Use gac online using onworks.net services



Latest Linux & Windows online programs