Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support Mingw-w64 on Windows #299

Open
rock59 opened this issue Apr 5, 2020 · 4 comments
Open

Please support Mingw-w64 on Windows #299

rock59 opened this issue Apr 5, 2020 · 4 comments

Comments

@rock59
Copy link

rock59 commented Apr 5, 2020

It would be nice to add MinGW support in cmakelists and provide MSYS2 package for users who need PicoTLS in Windows

@huitema
Copy link
Collaborator

huitema commented May 8, 2020

You can get Picotls on Windows with the Visual Studio project "picotlsvs.sln". I use it regularly.

@rock59
Copy link
Author

rock59 commented May 9, 2020

Building PicoTLS with VS and using the generated DLL in MinGW is easy but it's subject to VS licensing limits
I am porting H2O to windows uisng MinGW and wepoll (https://github.com/piscisaureus/wepoll) and I need PicoTLS to support HTTP/3

@syoyo
Copy link

syoyo commented May 30, 2020

@rock59 I made experimental MinGW build of picotls(minicrypto backend)

https://github.com/syoyo/picotls/tree/mingw-build

https://github.com/syoyo/picotls/blob/mingw-build/MingwPort.md

After getting success to compile picotls using MinGW with OpenSSL, I am planning to send a PR.

FYI, if you just need to compile picotls using MSVC, you can use C++ Build Tools(Build Tools for Visual Studio 2019, which is free to use) + cmake + ninja

https://visualstudio.microsoft.com/downloads/

(Some cmake modification to picotls will be required though)

@rock59
Copy link
Author

rock59 commented Jun 1, 2020

@syoyo Great job. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants