[pypy-dev] Visual Studio 2015 build strange behavior

Sergey Kurdakov sergey.forum at gmail.com
Wed Apr 5 16:15:27 EDT 2017


Hi Matti,

>How are you coping with third party packages?

I built them myself,

>Were these directions at all useful

they were useful to the extent, for example openssl won't build with
these instructions ( nasm step was missing ) also opensssl will use
/MT library option by default after ms/do_ms.bat call, but all libs
are recommended to be built with /MD so I changed flag in generated
mak file.

>or are you using the cpython build scripts with your compiler

no just build them as recommended by each library (and t setting /MD
etc for consistensy)

Regards
Sergey

On Wed, Apr 5, 2017 at 11:04 PM, Matti Picus <matti.picus at gmail.com> wrote:
> On 05/04/17 22:54, Sergey Kurdakov wrote:
>
>> Hi Armin,
>>
>> ok, I will prepare pull request,
>>
>> though there are other things to change.
>>
>> somehow openssl crashes on callback
>>
>> openssl is compiled by default with __cdecl, but export win32
>> functions in pypy are defined as __stdcall so callback to openssl is
>> sent as stdcall but it expects __cdecl ( maybe I could just change
>> that callback declaration to __cdecl)
>> but maybe I just miss something, but I will look into issue, and when
>> I'm fine with it I  will make pull request then.
>>
>> Regards
>> Sergey
>
>
> How are you coping with third party packages?
> Were these directions at all useful
> http://pypy.readthedocs.io/en/latest/windows.html#nonabrided-method-building-from-scratch
> or are you using the cpython build scripts with your compiler?
> Matti
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev


More information about the pypy-dev mailing list