neMESYS SDK
20150729
|
The MinGW ports of ld support the direct linking, including data symbols, to a dll without the usage of any import libraries.
This is much faster and uses much less memory than does the traditional import library method, expecially when linking large libraries or applications. Linking directly to a dll uses no extra command-line switches other than -L and -l, because ld already searches for a number of names to match each library. So you can link directly to the DLL via -lnemesys_dll linker switch. To avoid compiler warnings you need to pass the additional linker switch –enable-stdcall-fixup.