-
Notifications
You must be signed in to change notification settings - Fork 266
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
status of the Windows port #59
Comments
Hi @timkuijsten, LibreSSL 2.1.2 supports building static Windows libraries. The next release will support building DLLs as well (or you can try out a snapshot here). All of the commits from https://github.com/busterb/portable/commits/win32-minimal are already merged into the master here, so I'm unlikely to update that branch. Since that initial comment on undeadly, I figured out why it was slower as well - my CPU supported the AES-NI instructions, and I was testing AES. LibreSSL currently doesn't build with assembly support on Windows, so of course there was an especially big delta in performance with AES. The current Windows performance shouldn't be much different than LibreSSL 2.1.1 was on other platforms however, since that was before I enabled assembly on POSIX platforms as well. |
@bcook-r7 tnx for the super quick update! There is a question about mingw compatibility with the VS compiler/linker. I'm not sure if that is something you're dealing with as well. But if so, maybe you could elaborate a bit on that? (I'm not a system programmer, nor Windows user, just someone that would love to see io.js ship with LibreSSL and it's new tls API). |
I haven't tried it, but this may be useful as a guide: https://wiki.videolan.org/GenerateLibFromDll |
Hi! I just tried to compile libressl with mingw32 & msys, most recent versions (according to mingw-get, that is). ./configure ran without problems, but actual compile did not: CC aes/libcrypto_la-aes_core.lo If I did something wrong, any help would be appreciated! |
@zsoltt I test with http://mingw-w64.sourceforge.net/ which, contrary to its name, actually includes 32-bit and 64-bit toolchains. I believe that mingw32 is a bit out of date compared to mingw-w64. The easiest way to get these compilers IMO is to actually install them with cygwin. Then you don't really need msys either. Then I configure with a command like this: CC=i686-w64-mingw32-gcc ./configure --host=i686-w64-mingw32 |
Thanks for the quick answer! I wasn’t aware of this, now I feel enlightened. On Sat, Jan 24, 2015 at 6:24 PM, Brent Cook notifications@github.com
|
I just added a file for building windows libraries and adjusting the headers so they can work with visual studio. It requires a fair amount of software pre-installed (VS 2013, cygwin, mingw packages), but we may use it later to simply provide binary packages: At any rate, I'm going to close this ticket for now, though feel free to comment on any issues you have. |
In the 2.1.4 release notes I read
Would this be a possible solution for the concerns raised in the io.js issue? |
Anticipating on nodejs/node#428 I'm wondering if LibreSSL is ready to be shipped with software that has to support Windows?
I've only found http://undeadly.org/cgi?action=article&sid=20141201141720 and if I interpret that correctly it doesn't indicate a stable build. Furthermore https://github.com/busterb/portable/commits/win32-minimal shows not a lot has changed since that blog post (apart from opening up #55).
The text was updated successfully, but these errors were encountered: