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


7 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