Along with other components, Lycia Development Suite comprises different command line tools.
On Windows, the Lycia command line environment is invoked by executing environ.bat in the command line
On Unix, prior to start working with the command line tool, the corresponding environment must be set. This can be done as follows:
cd <directory where Lycia is installed>
. ./environ
Lycia allows several types of the command line tools invocation, they are as follows:
*.4gl
files into intermediate representation modules stored in *.4o
files.
*.per
forms to Lycia graphical form stored in *.fm2
files .
*.o
files to C libraries stored in *.a / *.lib
or in *.so / *.dll
.
The flowchart below shows the process of compiling linking deploying and running 4GL and C source files using the command line tools
C Compiler Command | RDS Command | Effect of the Command | Lycia Tool | Details |
i4gl | r4gl | Enter programmer's environment | LVSCE is an IDE created to meet all the 4GL development needs. | |
genrb | Compiles *.4s resource files. | |||
fglm | Analyzes 4GL source code. | |||
c4gl sfile.4gl | fglpc sfile | Compile 4GL source file sfile.4gl | qfgl | Compiles *.4gl files into *.4o files. |
qlink | Links 4GL libraries (.4a), 4GL programs, 4GL web services. Input files formats: *.4o, *.4a, *.lib, *.a, *.dll, *.so | |||
fglgo | Run the application | qrun | For app running, you can also use the RUN statement: RUN "<appname>" or RUN "qrun <appname>". | |
qxcc | Compiles *.c files into *.o files. | |||
qxld | Links *.o to C libraries: static C libraries *.a (Linux), *.lib (Windows); dynamic C libraries *.so (Linux), *.dll (Windows). |