Next: , Previous: Preprocessor, Up: Compiler


2.3 Create

The create phase generates footprints for each complete type once, so that instances of the same type may share the same footprint. Each type's definition is sequentially unrolled and expanded (instantiations and connections) recursively after substituting meta-parameter arguments. The input object file is the result of haco.

— Program: haccreate [options] in-object out-object

Further compiles an object file through the create phase.

haccreate is provided as a single-command alias to hackt create.

All programs that normally expect object files as inputs can also invoke the compiler on a source file with the following options.

— User Option: -c

Indicate that input file is a source, not object file, and needs to be compiled.

— User Option: -C opts

When compiling source, forward options opts to the compiler-driver. Suggestion: when passing compiler-options on the command-line, wrap in “double-quotes” to group a list of arguments into a single string in the shell.