On Wednesday 29 April 2020 22:20:57 Liu Hao wrote: > 在 2020/4/28 23:47, Pali Rohár 写道: > > > > They really exist in my tested msvcr80.dll file! > > > > I thought that if symbols are missing in mingw def files then functions > > are unimplemented. But it looks like that problem is in mingw def files > > and rather def file should be fixed. Would you do it? > > > > The attached patch should address this issue. Please test.
Strange! It does not work. I can compile and link with -lmsvcr80 hello work program with gcc without any problem, but on WinXP box it prints me error message: Microsoft Visual C++ Runtime Library Program: E:\a.exe R6034 An application has made an attempt to load C runtime library incorrectly. Please contact the application's support team for more information. a.exe - Application error The application failed to initialize properly (0xc0000142). Click OK to terminate application. When I tried to link with -lmsvcr90 and run it on same box, it works fine and prints hello world as expected. I compiled mingw-w64 from git master, so maybe something with initialization of msvcr80.dll is broken in mingw-w64? -- Pali Rohár pali.ro...@gmail.com _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public