Linking
This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
The final link produces the .i64
file. See the Microsoft online documentation for details. Note that the plugin library is being linked as well.
link -subsystem:windows -debug:none -out:.i32 \
.exp .res .obj \
\lib\pluglibMT32.obj \
-entry:_CRT_INIT@12 libc.lib kernel32.lib
For symbolic debugging, replace the linker directive -debug:none
with:
-debug:full -debugtype:cv
When linking an explicit DLL initialization function (for example DllInit
, above), change entry:_CRT_INIT@12
to:
-entry:_DllInit@12
Note
: -out:.i32
should be replaced with -out:.i64
to build 64‐bit plugins and pluglibMT32
should be replaced with pluglibMT64
. For debug builds use pluglibMTd32
or pluglibMTd64
.