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 file-list
- In this form, fgllink links a .42x library.
- options are described in fglrun -l linking options.
- outfile.42x is the name of the library to be created.
where file-list is:
{
module.42m
|
pattern
|
@argfile
}
[...]
- 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 file-list
- In this form, fgllink links a .42r program.
- options are described in fglrun -l linking options.
- outfile.42r is the name of the program to be created.
where file-list
is:
{
{
module.42m |
library.42x }
|
pattern
|
@argfile
}
[...]
- module.42m is a p-code module compiled with fglcomp.
- library.42x is a name of a library to be used for linking.
- 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.
Syntax 3: Information options
fgllink info-option
- info-option can be any of the informational options.
Options
Option | Description |
---|---|
-V or --version |
Displays version information. |
-h or --help |
Displays options for the tool. |
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
Note that fgllink is a wrapper calling fglrun with the -l
option.