4gl programs built in Lycia can be executed on other operating systems.
For example, an application built on Windows can be executed on Linux and vice versa.
Refer here for details about trial and commercial licenses.
To perform cross-system deployment of applications, you must have a linker installed on your target OS.
If you want to cross-deploy 4gl programs what do not include any C modules, this linker can be either MinGW or Microsoft Visual C++.
If you want to cross-deploy 4gl programs with C modules, this linker must be the same that was used to originally link these C modules.
It is true only for 4gl programs which do not contain any platform-specific calls (like RUN or pipe usage) or does not include any platform-specific libraries.
Cross-system deployment requires that both your source and target systems have the same version of Lycia.
To deploy an application to a different operating system, please follow these steps.
Step 0. Build the program.
qrun --aot <program> (for release cache)
or
qrun --aot --unl <program> (for debug cache)
You can set the QX_UNL environment variable instead of using the -unl
option:
QX_UNL = 1
You can set the QX_VERBOSE_CACHE environment variable to enable verbose output of results for building the object_cache:
QX_VERBOSE_CACHE = 1
When building release cache, it is useful to set the QX_REL_LINE_INFO environment variable for getting the line information:
QX_REL_LINE_INFO = 1