Re: [Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-05-31 Thread Pali Rohár
On Thursday 30 April 2020 11:29:47 Pali Rohár wrote: > On Thursday 30 April 2020 17:22:52 Liu Hao wrote: > > 在 2020/4/30 17:14, Pali Rohár 写道: > > > > > > So problem is only with 80, not 90. > > > > > > Anyway, that error message is issued by msvcr80.dll library itself, so I > > > think it could

Re: [Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-04-30 Thread Liu Hao
在 2020/4/30 17:31, Pali Rohár 写道: > > Back to this patch. After applying it, gcc/mingw produce executable > binary without any warning or error, so I think it fine. > Thanks. Pushed. Back to the manifest issue: It is probably legal to copy one from another executable, as it is a resource in pla

Re: [Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-04-30 Thread Pali Rohár
On Thursday 30 April 2020 10:17:55 Liu Hao wrote: > 在 2020/4/30 2:31, Pali Rohár 写道: > > On Wednesday 29 April 2020 22:20:57 Liu Hao wrote: > > > > The application failed to initialize properly (0xc142). Click OK to > > terminate application. > > > > > > When I tried to link with -lmsvc

Re: [Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-04-30 Thread Pali Rohár
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 fil

Re: [Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-04-30 Thread Pali Rohár
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 fil

Re: [Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-04-30 Thread Pali Rohár
On Thursday 30 April 2020 17:22:52 Liu Hao wrote: > 在 2020/4/30 17:14, Pali Rohár 写道: > > > > So problem is only with 80, not 90. > > > > Anyway, that error message is issued by msvcr80.dll library itself, so I > > think it could be possible to do some link-time workaround in mingw-w64 > > or gcc

Re: [Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-04-30 Thread Liu Hao
在 2020/4/30 17:14, Pali Rohár 写道: > > So problem is only with 80, not 90. > > Anyway, that error message is issued by msvcr80.dll library itself, so I > think it could be possible to do some link-time workaround in mingw-w64 > or gcc to make msvcr80.dll happy. > I am not clear about details abo

Re: [Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-04-29 Thread Liu Hao
在 2020/4/30 2:31, Pali Rohár 写道: > On Wednesday 29 April 2020 22:20:57 Liu Hao wrote: > > The application failed to initialize properly (0xc142). 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

[Mingw-w64-public] [PATCH] crt: Add missing functions in msvcr80.def

2020-04-29 Thread Liu Hao
在 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? >