Hi Sebastian, 2013/3/4 Sebastian Wolff <[email protected]>: > Hello Earnie, > > > > Yes, http://msdn.microsoft.com/en-us/library/ms235460.aspx. > > > The same source also states that the option /MD lets the application chose > one runtime (although multiple may be referenced by the DLLs). This is the > case, when I compile my test program with VC++. > I am surely a beginner with MingW(-w64), cross compilation and Windows, but > I wonder, however, if we head into a direction which is really the origin of > my problem. I talked to a developer who used MingW with moldname90 (linking > against a 3rd-party lib compiled with VS2008) and he never got the problem > that I am facing. He also had to manage the situation that he directly links > to msvcr90.dll while some DLLs he was using referred to msvcrt.dll. Hence I > guess that MingW is able to imply /MD as well. I hope I am not completely > wrong here. > > > > Best regards > Sebastian
First to the statement that all DLLs file have to use same runtime. That's not true as long as the DLLs are not sharing C-runtime pointers, handles, etc. A lot of internal system-DLL files are actual using msvcrt.dll and working happily together with different runtime-versions. MinGW-w64 and MinGW.org stuff are using always only DLL-version of C-runtime. There is no support for static MS-runtime present. I think the easiest way for you to solve that is to generate the moldnames90 library. Just generated it by the .def file for moldname, but change within that the referenced library to the version you want. The file can be generated via '<prefix>-dlltool moldname-msvcrt.def -U --dllname msvcr90.dll' Kai ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
