Currently a different Environment.xml file is required based on whether the platform is linux or windows and a "-c linux" or "-c win32" is provided.
The configuration for linux or win32 only varies for the name of the library to load for transport of resource manager.
It would be good if the same configuration file could be used for windows as for linux and the environmental discrepancies be described in the same file (to save misconfigurations).
As such it is recommended to allow the addition of platform specific configuration to be provided as follows:
<SERVICE name='BAR' win32TransportLibrary='atmibroker-hybrid.dll' unixTransportLibrary="libatmibroker-hybrid.so"/>
and both the following defined for the XA_RESOURCE
In the code, instead of a "-c" command we can determine which of the TransportLibrary to use from an ifdef WIN32 (I think we already provide the WIN32 compiler flag on windows), or we can keep the "-c" if this is determined to be the most flexible.