编译器按如下顺序搜索库: 使用 -L <dir_name> 选项将目录传递给编译器。 编译器会搜索以下库:$XILINX_VITIS/gnu/<processor>/<platform>/<processor-lib>/usr/lib