Programming tools / Command line tools |
The fgl2p tool compiles source files and assembles p-code modules into a .42r program or a .42x library.
fgl2p [options] -o outfile.42x { pcmod.42m | srcfile.4gl } [...]
fgl2p [options] -o outfile.42r { pcmod.42m | srcfile.4gl | library.42x } [...]
Option | Description |
---|---|
-V | Display version information for the tool. |
-h | Displays options for the tool. Short help. |
-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. |
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 tools to compile and link modules together.