<legend id='0lrr3'><style id='0lrr3'><dir id='0lrr3'><q id='0lrr3'></q></dir></style></legend>
<tfoot id='0lrr3'></tfoot>

<small id='0lrr3'></small><noframes id='0lrr3'>

<i id='0lrr3'><tr id='0lrr3'><dt id='0lrr3'><q id='0lrr3'><span id='0lrr3'><b id='0lrr3'><form id='0lrr3'><ins id='0lrr3'></ins><ul id='0lrr3'></ul><sub id='0lrr3'></sub></form><legend id='0lrr3'></legend><bdo id='0lrr3'><pre id='0lrr3'><center id='0lrr3'></center></pre></bdo></b><th id='0lrr3'></th></span></q></dt></tr></i><div id='0lrr3'><tfoot id='0lrr3'></tfoot><dl id='0lrr3'><fieldset id='0lrr3'></fieldset></dl></div>

    <bdo id='0lrr3'></bdo><ul id='0lrr3'></ul>
    1. 如何在 Windows 中使用 MinGW 构建 OpenSSL?

      时间:2024-08-14

      <tfoot id='OnGCv'></tfoot>
      <legend id='OnGCv'><style id='OnGCv'><dir id='OnGCv'><q id='OnGCv'></q></dir></style></legend>

    2. <small id='OnGCv'></small><noframes id='OnGCv'>

      • <bdo id='OnGCv'></bdo><ul id='OnGCv'></ul>

                <tbody id='OnGCv'></tbody>
                <i id='OnGCv'><tr id='OnGCv'><dt id='OnGCv'><q id='OnGCv'><span id='OnGCv'><b id='OnGCv'><form id='OnGCv'><ins id='OnGCv'></ins><ul id='OnGCv'></ul><sub id='OnGCv'></sub></form><legend id='OnGCv'></legend><bdo id='OnGCv'><pre id='OnGCv'><center id='OnGCv'></center></pre></bdo></b><th id='OnGCv'></th></span></q></dt></tr></i><div id='OnGCv'><tfoot id='OnGCv'></tfoot><dl id='OnGCv'><fieldset id='OnGCv'></fieldset></dl></div>

                本文介绍了如何在 Windows 中使用 MinGW 构建 OpenSSL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我想用 MinGW 在 Windows 中构建 OpenSSL,
                我怎样才能做到这一点?请帮帮我.
                谢谢.

                I want to build OpenSSL in Windows with MinGW,
                How can I do that? Please help me.
                Thanks.

                推荐答案

                这是我写的个人指南的摘录.此后,它已被转换为 脚本(查看 OpenSSL部分,显然).它假定您已安装了 MinGW,并且您有一个可运行的 MSys 控制台.

                This is an extract from a personal how-to I wrote. It has since been transformed to a script (look at the OpenSSL section, obviously). It assumes you have a working installation of MinGW and that you have a working MSys console.

                要构建 OpenSSL,您需要一个有效的 Perl 安装.

                To build OpenSSL, you need a working Perl installation.

                从官方网站下载OpenSSL并解压存档.

                Download OpenSSL from its official website and decompress the archive.

                您必须从 MSys 控制台运行这些命令.

                You must run these commands from a MSys console.

                对于 32 位:

                perl 配置 mingw no-shared no-asm --prefix=/c/OpenSSL

                perl Configure mingw no-shared no-asm --prefix=/c/OpenSSL

                对于 64 位:

                perl 配置 mingw64 no-shared no-asm --prefix=/C/OpenSSL-x64

                perl Configure mingw64 no-shared no-asm --prefix=/C/OpenSSL-x64

                那么:

                依赖

                制作

                进行安装

                如果您指定了任何 no-... 选项,则只有在最新的 OpenSSL 版本上才需要 make Depend 行.

                The make depend line is only needed on the most recent OpenSSL version if you specified any of the no-... options.

                请注意,这将在静态模式下编译 OpenSSL.

                Note that this will compile OpenSSL in static mode.

                如果在某个时候你得到一个make (e=2):"错误,确保您没有另一个make.exe";在你的 PATH 中或者只输入 /bin/make 而不是 make.

                If at some point you get a "make (e=2):" error, ensure you don't have another "make.exe" in your PATH or just type /bin/make instead of make.

                当然,您可能需要使用其他选项(例如动态链接或启用 asm)来编译它.因此,请随时查看 perl Configure 可以提供的帮助以了解有关可用选项的更多信息.

                You may, of course, need to compile it with other options (such as dynamic linking, or asm enabled). So feel free to look at the help perl Configure can provide to know more about the available options.

                这篇关于如何在 Windows 中使用 MinGW 构建 OpenSSL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:使用 OpenSSL 进行 Base64 编码和解码 下一篇:C++ 中的 Curl - 无法从 HTTPS 获取数据

                相关文章

              • <i id='iBdtr'><tr id='iBdtr'><dt id='iBdtr'><q id='iBdtr'><span id='iBdtr'><b id='iBdtr'><form id='iBdtr'><ins id='iBdtr'></ins><ul id='iBdtr'></ul><sub id='iBdtr'></sub></form><legend id='iBdtr'></legend><bdo id='iBdtr'><pre id='iBdtr'><center id='iBdtr'></center></pre></bdo></b><th id='iBdtr'></th></span></q></dt></tr></i><div id='iBdtr'><tfoot id='iBdtr'></tfoot><dl id='iBdtr'><fieldset id='iBdtr'></fieldset></dl></div>
                <tfoot id='iBdtr'></tfoot>

                  <small id='iBdtr'></small><noframes id='iBdtr'>

                  <legend id='iBdtr'><style id='iBdtr'><dir id='iBdtr'><q id='iBdtr'></q></dir></style></legend>

                    <bdo id='iBdtr'></bdo><ul id='iBdtr'></ul>