Standard Library Functions - HACKT CHPSIM Manual
Description: HACKT CHPSIM Manual

Next: Command Index, Previous: Event-driven Execution, Up: Top

## 6 Standard Library Functions

This section describes the usage of existing library functions. These library functions can be loaded by dlopening `stdchpfn.la`, which is located in `pkglibdir` (like `prefix/lib/hackt`).

To load the standard library:

         $ hacchpsim -Lprefix/lib/hackt -lstdchpfn foo.obj

To help with passing the correct library flags, you can also invoke ``hackt-config --ldflags`' to automatically expand the flags:

         $ hacchpsim `hackt-config --ldflags` -lstdchpfn foo.obj