From 0baf7f02f877c87597556d22cf3d921440123a43 Mon Sep 17 00:00:00 2001 From: flykhan Date: Wed, 12 Jul 2023 10:46:12 +0800 Subject: [PATCH] =?UTF-8?q?day8=20coding:=20=E9=9D=99=E6=80=81=E5=BA=93?= =?UTF-8?q?=E7=9A=84=E7=94=9F=E6=88=90=E5=92=8C=E4=BD=BF=E7=94=A8-?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9B=B8=E5=AF=B9=E4=BE=9D=E8=B5=96=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- day8/d1/README.md | 2 ++ 1 file changed, 2 insertions(+) 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 ```