qxld

After everything is compiled, you will need to use qxld command to link the dynamic library.  It has this syntax:

qxld -dynamic -o library_name sources.obj -L$LYCIA_DIR/lib -l4glc

Here -dynamic flag instructs the linker to create a dynamic C library, -o flag contains the name of the library which it will have when built. The -L flag links the library to l4glc. Sources.obj are the compiled C source files which need to be included into the library.

Here is an example:

qxld -dynamic -o mylib mysource1.obj mysource2.obj -L"%LYCIA_DIR%\lib" -l4glc

When you specify a file name, be careful with its case.

UNIX is case-sensitive, so it will treat files which names come in different cases as separate files.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.