fgllink
The fgllink tool assembles p-code modules produced with fglcomp into a .42r program or a .42x library.
Syntax 1: Create a 42x library
fgllink [options] -o outfile.42x
{ module.42m [...]
| pattern
| @argfile }
- options are described in Table 1.
- outfile.42x is the name of the library to be created.
- module.42m is a p-code module compiled with fglcomp.
- pattern is a
MATCHES
-style pattern to find files, like'[a-z]*.42m'
. - argfile defines a file that contains a list of .42m files. Each line must specify a filename or a pattern.
Syntax 2: Create a 42r program
fgllink [options] -o outfile.42r
{ { module.42m | library.42x } [...]
| pattern
| @argfile }
- options are described in Table 1.
- outfile.42r is the name of the program to be created.
- module.42m is a p-code module compiled with fglcomp.
- library.42x is the name of a library to be linked.
- pattern is a
MATCHES
-style pattern to find files, like'[a-z]*.42m'
. - argfile defines a file that contains a list of .42m or .42x files. Each line must specify a filename or a pattern.
Options
Option | Description |
---|---|
-V or
--version |
Displays version information. |
-h or
--help |
Displays options for the tool. |
-e
extfile[,...] |
Specify a C extension module to be loaded. This option can take a comma-separated list of extensions. |
-o {
progname.42r
|
libname.42x
} |
Output file specification, it can be a 42r program or a 42x library. |
otheroption |
Other options are passed to fglrun for linking. |
Usage
The fgllink command line tool links .42m
p-code modules together to create a .42x library or a .42r
program file.
fgllink -o myprog.42x module1.42m module2.42m lib1.42x