public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Da Shi Cao <dscao999@hotmail.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: architecture dependent directory of C header
Date: Sat, 26 Mar 2022 12:37:03 +0000	[thread overview]
Message-ID: <SN4PR22MB32229450F52270C7998E1F4B8C1B9@SN4PR22MB3222.namprd22.prod.outlook.com> (raw)

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?

Thanks,
Dashi Cao

             reply	other threads:[~2022-03-26 12:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-26 12:37 Da Shi Cao [this message]
2022-03-26 14:50 ` Xi Ruoyao
2022-03-26 23:53   ` Da Shi Cao
2022-03-27  9:37     ` Xi Ruoyao
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=SN4PR22MB32229450F52270C7998E1F4B8C1B9@SN4PR22MB3222.namprd22.prod.outlook.com \
    --to=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).