ABMODULES(1)

NAME
abmodules - find B modules

SYNOPSIS
abmodules [ -o outputfile.c ] [ file ... ]

DESCRIPTION
abmodules finds B modules in a set of ack.out(5) format object files, and either lists them or generates a C file which initialises the modules.

This tool is used for multiple compilation of B programs; B modules must be initialised before use, and this tool generates the initialisation code for programs containing an abitrary number of modules. See em_b(6) for details.

Options are:

-o filename
    Write C source to filename containing a definition of a binit() function which will initalise all modules found. If not present, a simple list of module names is written to stdout instead.

SEE ALSO
ack.out(5), em_b(6)