Get remaining parts of pmcd and pmdapmcd to build under MinGW.
It seems you cannot resolve symbols from a DLL that exist in a
binary, under Win32/MinGW. But, its OK if those symbols come
from a DLL. So this patch moves all shared symbols (data and
code) used by both pmcd and pmdapmcd into a shared library,
which I've named libpcp_pmcd. The data symbols need the magic
Windows symbol annotation too (the same treatment the globals
in libpcp - pmProgname, pmDebug, etc - were given) in order to
be correctly resolved by pmcd and pmdapmcd.
Get remaining parts of pmcd and pmdapmcd to build under MinGW.
It seems you cannot resolve symbols from a DLL that exist in a
binary, under Win32/MinGW. But, its OK if those symbols come
from a DLL. So this patch moves all shared symbols (data and
code) used by both pmcd and pmdapmcd into a shared library,
which I've named libpcp_pmcd. The data symbols need the magic
Windows symbol annotation too (the same treatment the globals
in libpcp - pmProgname, pmDebug, etc - were given) in order to
be correctly resolved by pmcd and pmdapmcd.