Re: architecture dependent directory of C header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2022-03-26 at 23:53 +0000, Da Shi Cao wrote:
> 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”.

Do you mean "$PREFIX/aarch64-linux-gnu/include" or
"$PREFIX/include/aarch64-linux-gnu"?

The previous one is a standard location for a cross compiler.  The
latter is not enabled without --enable-multiarch, at least for the
upstream GCC code.  Note that if you get a GCC source tarball elsewhere,
it's unlikely you may get an answer here because we have no way to know
how the source code is modified.


-- 
Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux