diff --git a/day8/d1/README.md b/day8/d1/README.md index 250ff25..23ab814 100644 --- a/day8/d1/README.md +++ b/day8/d1/README.md @@ -14,4 +14,6 @@ ar rc libxxx.a xxx.o gcc -static test.c -L/home/.../libs -lxxx -I/home/.../includes # 生成自定义可执行文件 test gcc -static test.c -o test -L/home/.../libs -lxxx -I/home/.../includes +# 生成自定义可执行文件 test 并使用相对依赖路径 +gcc -static test.c -o test -L./my/libs -lmy -I./my/includes ```