fgl2p
The fgl2p tool compiles source files and assembles p-code modules into a .42r program or a .42x library.
Important:
This feature is deprecated, its use is discouraged although not prohibited.
Syntax
To create a
library:
fgl2p [
options]
-o outfile.42x {
pcmod.42m |
source.4gl }
[...]
To create a
program:
fgl2p [
options]
-o outfile.42r {
pcmod.42m |
source.4gl |
library.42x }
[...]
- options are described in Table 1.
- outfile.42r is the name of the program to be created.
- outfile.42x is the name of the library to be created.
- pcmod.42m is a p-code module compiled with fglcomp.
- source.4gl is a program source file.
- library.42x is the name of a library to be linked.
Options
Option | Description |
---|---|
-V |
Displays version information. |
-h |
Displays options for the tool. |
-o
outfile.ext |
Output file specification, where ext can be 42r for a program or 42x for a library. |
otheroption |
Other options are passed to the linker or compiler. |
Usage
The fgl2p command line tool can compile .4gl source files
and link .42m p-code modules together, to create a
.42x library or a .42r program
file.
fgl2p -o myprog.42r module1.4gl module2.42m lib1.42x
This tool is provided for convenience, in order to create programs or libraries in one command line. It uses the fglcomp and the fgllink or fglrun -l tools to compile and link modules together.