介绍
有工程师反馈,使用A53交叉编译器直接编译最简单的C文件,编译器也报告。"...编译代码时,缺省是在目录/usr/include查找头文件,在目录/usr/lib查找库文件。...GCC文档关于sysroot的描述
3. 使用sysroot的编译
使用sysroot指定目录后,编译文件成功,没有任何问题。.../aarch64-xilinx-linux -o hello hello.o -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed `pkg-config --cflags...--libs glib-2.0 gstreamer-1.0 gstreamer-app-1.0` -lpthread -ldl -lrt -Wl,-rpath-link, -Wl,-O1 -Wl,--