Skip to content

Commit b0231e0

Browse files
committed
doc: 更新库的编译方法
1 parent 2987fd3 commit b0231e0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Docs/Development/how-to-join.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ debugger 由两部分组成,分别是 lua 调试主体和 c 扩展库。使用
5252

5353
## 编译相关库
5454

55+
+ mac
56+
5557
lua:
5658

5759
```
@@ -74,3 +76,27 @@ libpdebug:
7476
g++ -shared -o libpdebug.so libpdebug.cpp -I/usr/local/include -L/usr/local/lib -llua
7577
```
7678

79+
80+
81+
+ win
82+
83+
mingw:https://nuwen.net/mingw.html
84+
85+
lua:
86+
87+
```
88+
make mingw
89+
```
90+
91+
luasocket:
92+
93+
修改 src/makefile 文件中的 lua 版本,mingw_base 及编译头文件,lua库的引用位置
94+
95+
```
96+
make mingw
97+
```
98+
99+
libpdebug:
100+
101+
使用 vs 编译,创建动态库项目
102+

0 commit comments

Comments
 (0)