Hi Ruoyao, Thanks a lot. I’ll have a try of it. But this arch dependent including directory is in the default search path of the compiler if aarch64 cross gcc is built on x86_64 without the option “--enable-multiarch”. It is missing when arm cross gcc is built. Dashi Cao Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows From: Xi Ruoyao<mailto:xry111@xxxxxxxxxxxxxxxx> Sent: Saturday, March 26, 2022 22:50 To: Da Shi Cao<mailto:dscao999@xxxxxxxxxxx>; gcc-help@xxxxxxxxxxx<mailto:gcc-help@xxxxxxxxxxx> Subject: Re: architecture dependent directory of C header On Sat, 2022-03-26 at 12:37 +0000, Da Shi Cao via Gcc-help wrote: > When compiling a C source using gcc, the following list of directories > to search for included header files could be displayed: > /usr/lib/gcc/x86_64-linux-gnu/8/include > /usr/local/include > /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed > /usr/include/x86_64-linux-gnu <--- arch dependent? > /usr/include > > I'd like to know how this arch dependent directory > (/usr/include/x86_64-linux-gnu) be incorporated into the gcc if a gcc > compiler is to be built? Configure GCC with --enable-multiarch. -- Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University