mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-23 16:56:28 +08:00
Updated 编译和安装 (markdown)
10
编译和安装.md
10
编译和安装.md
@@ -1,24 +1,18 @@
|
||||
### 在Mac下编译和安装
|
||||
|
||||
```
|
||||
./Configure darwin64-x86_64-cc --prefix=/usr/local \
|
||||
--openssldir=/usr/local/openssl
|
||||
./Configure darwin64-x86_64-cc --prefix=/usr/local --openssldir=/usr/local/openssl
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
### 在Linux下编译和安装
|
||||
|
||||
(由sunshine协助提供)
|
||||
|
||||
```
|
||||
./Configure debug-linux-generic64 --prefix=/usr/local \
|
||||
--openssldir=/usr/local/openssl shared no-rc4
|
||||
./config --prefix=/usr/local --openssldir=/usr/local/openssl
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
最新的代码在Ubuntu Linux下也可以通过`./config no-asm`配置编译。
|
||||
|
||||
### 在Windows下编译和安装
|
||||
|
||||
|
||||
Reference in New Issue
Block a user