Skip to content

Commit 233273a

Browse files
authored
Update libToDll.md
1 parent f719a4a commit 233273a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/union_compile/libToDll.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
+ main.c
1+
+ main.c
22
```c
33
void hello();
44
int main(void){
55
hello();
66
}
77
```
8-
+ p1.c
8+
+ p1.c
99
```c
1010
#include<stdio.h>
1111
void hello(){
@@ -25,7 +25,7 @@ void hello(){
2525

2626
`gcc --shared -fpic libp1.lib - libp1.dll`
2727

28-
***compile and link main procedure***
28+
#### ***compile and link main procedure***
2929

3030
`gcc main.c -L. -lp1 -o main`
3131

0 commit comments

Comments
 (0)