Commit a49e4862 authored by chenhaowen01's avatar chenhaowen01 Committed by GitHub

Update README.md

parent 38b789fd
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\_, /\_,_/\_,_/\__/ \_,_/_/ \__/\___/_/_/_/ \_, /\_,_/\_,_/\__/ \_,_/_/ \__/\___/_/_/_/
/___/ A third-party drcom client for gdut. /___/ A third-party drcom client for gdut.
这是一个适用于广东工业大学的第三方 drcom 客户端(drcom 5.2.1p),目前支持 Linux 平台(包括OpenWrt等用于路由器的发行版) 这是一个适用于广东工业大学的第三方 drcom 客户端(drcom 5.2.1p),支持 Linux (包括OpenWrt等用于路由器的发行版)与Windows
# install # install
* OpenWrt * OpenWrt
* 使用 opkg(推荐) * 使用 opkg(推荐)
...@@ -27,7 +27,7 @@ cd OpenWrt-SDK-15.05-ramips-rt305x_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64 ...@@ -27,7 +27,7 @@ cd OpenWrt-SDK-15.05-ramips-rt305x_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64
git clone https://github.com/chenhaowen01/gdut-drcom.git git clone https://github.com/chenhaowen01/gdut-drcom.git
make package/gdut-drcom/compile make package/gdut-drcom/compile
``` ```
* 主机编译 * Linux
```bash ```bash
git clone https://github.com/chenhaowen01/gdut-drcom.git git clone https://github.com/chenhaowen01/gdut-drcom.git
cd gdut-drcom/src cd gdut-drcom/src
...@@ -36,6 +36,16 @@ cd gdut-drcom/src ...@@ -36,6 +36,16 @@ cd gdut-drcom/src
# 如 # 如
make cryptlib=openssl make cryptlib=openssl
``` ```
* Windows([mingw-w64][3]
```bat
git clone https://github.com/chenhaowen01/gdut-drcom.git
cd gdut-drcom\src
# 可通过cryptlib变量指定加密库,留空表示不使用第三方库
# cryptlib=[openssl, polarssl, gcrypt]
# 如
mingw32-make CC=gcc
```
# usage # usage
```bash ```bash
gdut-drcom gdut-drcom
...@@ -45,7 +55,6 @@ gdut-drcom ...@@ -45,7 +55,6 @@ gdut-drcom
[--keep-alive1-flag <flag>] The keep alive 1 packet's flag. [--keep-alive1-flag <flag>] The keep alive 1 packet's flag.
default as 00. default as 00.
[-c, --config-file <file>] The path to config file. [-c, --config-file <file>] The path to config file.
default as /etc/gdut-drcom.conf.
[-h, --help] Print this message. [-h, --help] Print this message.
``` ```
...@@ -56,3 +65,4 @@ gdut-drcom ...@@ -56,3 +65,4 @@ gdut-drcom
[1]: https://github.com/drcoms/drcom-generic [1]: https://github.com/drcoms/drcom-generic
[2]: https://github.com/drcoms/drcom-generic/issues/82 [2]: https://github.com/drcoms/drcom-generic/issues/82
[3]: https://sourceforge.net/projects/mingw-w64/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment