windows平台源碼編譯最新版openssl

來源:互聯網
上載者:User

標籤:

1.從openssl官網下載最新版openssl      https://www.openssl.org/source/

The latest stable version is the 1.1.0 series of releases

最新版為1.1.0  2016.8.25更新版

2.本機安裝VS Studio,我的是vs2008

3.安裝ActivePerl(http://www.activestate.com/activeperl/downloads 官網地址),最好安裝5.20版,因為在編譯openssl過程中,總是說找不到nmake,明明path中已經添加,就是說找不到

又說可以使用ppm包管理器安裝dmake,最新版ActivePerl社區免費版為5.28不支援安裝dmake,如所示

所以換ActivePerl為5.20版,安裝dmake

4.安裝Nasm彙編器http://www.nasm.us/ 

5.

1)開啟VS Studio命令列工具,1所示。若編譯64位OpenSSL庫,請開啟Visual Studio x64 Win64 Command Prompt,反之亦然。

圖1

2)配置編譯檔案及安裝目錄;

         編譯Win32:perl Configure VC-WIN32 --prefix=c:\some\openssl\dir

         編譯Win64:perl Configure VC-WIN64A --prefix=c:\some\openssl\dir

“c:\some\openssl\dir”目錄可以改成任何你希望的安裝目錄

6.都說要找ms目錄下的bat指令碼,我這裡就沒有

 

所以不用管,直接nmake          ,nmake install

windows平台源碼編譯最新版openssl

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.