Specifies what linker is used for creating object cache on Windows .
Syntax:
QX_NATIVE_LINKER={MSVC, MINGW, MINGW_MSVC}
Possible values:
MSVC |
sets the Microsoft Visual Studio native linker as the current linker |
MINGW |
sets the MinGW linker as the current linker |
MINGW_MSVC |
sets the MinGW linker as the current linker. Otherwise, uses the Microsoft Visual Studio native linker. |
Usage and examples:
By default - if QX_NATIVE_LINKER is not set or if it is set to the unsupported value - Lycia will look for the Microsoft Visual Studio native linker and use it, if found.
Otherwise, the MinGW linker will be used.
|
MinGW linker is installed together with Lycia. You can exclude it from the installation, if you wish. But in this case you must ensure that Microsoft Visual Studio linker is installed because otherwise, object cache will not be created, and you will not be able to run your applications:
|
By setting QX_NATIVE_LINKER you directly tell Lycia what linker to use for building the object cache:
QX_NATIVE_LINKER=MINGW
QX_NATIVE_LINKER applies at deployment or during the first run of an application and is set in inet.env, env.properties, and environ.bat.
You can check what linker was used to create the object cache by following these steps:
Step 1 |
Go to the object cache folder in the directory where your application was deployed, e.g.,
C:\ProgramData\Querix\Lycia\progs\object_cache
|
Step 2 |
Open the folder called <your_application_name>.exe and find the <your_application_name>.exe.dll file, e.g.,:
C:\ProgramData\Querix\Lycia\progs\object_cache\nt-64_7.1.5249_bf90cca\execute_menu.exe\rel\00000000000
|
Step 3 |
Open the properties of the .dll file and go to the Details tab:
|
Step 4 |
In the file description, you will see the linker used to create the file:
If will see the linker name as the file description immediately if you choose Tiles as the viewing option for the folder:
|
Related articles:
Understanding compilation basics