[RFC PATCH 2/2] vcruntime140: Add the new MSVC 2015 compiler specific DLL.

Martin Storsjö martin at martin.st
Mon Oct 19 03:31:57 CDT 2015


On Sun, 18 Oct 2015, Nikolay Sivov wrote:

> On 18.10.2015 22:53, Martin Storsjö wrote:
>> 
>>>> diff --git a/dlls/msvcrt/main-vcruntime.c b/dlls/msvcrt/main-vcruntime.c
>>>> new file mode 100644
>>>> index 0000000..ccbe6a9
>>>> --- /dev/null
>>>> +++ b/dlls/msvcrt/main-vcruntime.c
>>> 
>>> This looks like a workaround to me. Will it work to duplicate this in
>>> vcruntime140 or consolidate it in some way making it usable from
>>> msvcrt and vcruntime*?
>> 
>> I'm not quite sure I understand your question completely.
>> 
>> If it's about the duplication of code; I guess one could keep the normal
>> main.c and either split it into multiple files and just include some of
>> them here, and disable parts of it with ifdefs (since this DLL shouldn't
>> have most of the normal msvcrt internal state). If it's about the source
>> file being in the msvcrt directory even though it's not used by the
>> normal msvcrt, I guess that can be moved to the vcruntime140 directory
>> as well.
>
> Yes, what I mean is that this new file is not used in msvcrt itself, so it's 
> questionable to have it there.

Ah, I see.

Yes, I guess that'd be fine. Does the makefiles find it automatically 
without any extra paths even though the other files are taken from 
../msvcrt (due to PARENTSRC)? It does seem so from a quick test.

// Martin


More information about the wine-devel mailing list