arm-linux-gcc header file and library file specification

1. Header file specification

(1), # include “printf.h” specifies the current path
(2), -I /include/printf specifies the path
(3), you can also put the header file in the cross-compilation tool chain

2. Designation of library files

(1), -L /lib/ specifies the library file path
(2), -Iabc specifies the libabc.so library
(3), you can also put the library file in the cross-compilation tool chain

3. Arm-linux-gcc default header file path

In the include in the cross compilation tool

3. Arm-linux-gcc default library file path

In the lib in the cross compilation tool

4. x86 gcc is by default under include and lib under /usr/

5. The 64-bit arm cross tool chain starts with aarch64-liunx-

Guess you like

Origin blog.csdn.net/qq_18077275/article/details/108907071