public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@mengyan1223.wang>
To: Da Shi Cao <dscao999@hotmail.com>,
	"gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: architecture dependent directory of C header
Date: Sun, 27 Mar 2022 17:37:03 +0800	[thread overview]
Message-ID: <d4e18c224131bfdd35656132f764a891006d3c8f.camel@mengyan1223.wang> (raw)
In-Reply-To: <SN4PR22MB32221A781FC4942405C2D4D58C1B9@SN4PR22MB3222.namprd22.prod.outlook.com>

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@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

  reply	other threads:[~2022-03-27  9:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-26 12:37 Da Shi Cao
2022-03-26 14:50 ` Xi Ruoyao
2022-03-26 23:53   ` Da Shi Cao
2022-03-27  9:37     ` Xi Ruoyao [this message]
2022-03-27 15:14       ` Da Shi Cao
2022-03-28 10:29         ` Xi Ruoyao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d4e18c224131bfdd35656132f764a891006d3c8f.camel@mengyan1223.wang \
    --to=xry111@mengyan1223.wang \
    --cc=dscao999@hotmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).