What are GCC's "Standard system directories" on GNU/Linux?

Liste des GroupesRevenir à cl c 
Sujet : What are GCC's "Standard system directories" on GNU/Linux?
De : acm (at) *nospam* muc.de (Alan Mackenzie)
Groupes : comp.lang.c
Date : 05. Feb 2025, 12:38:44
Autres entêtes
Organisation : muc.de e.V.
Message-ID : <vnvik4$2qqi$1@news.muc.de>
User-Agent : tin/2.6.4-20241224 ("Helmsdale") (FreeBSD/14.2-RELEASE-p1 (amd64))
Hello, comp.lang.c.

In the GCC manual, section 3.16 "Options for Directory Search" partially
describes where, how, and in what order GCC finds #include files when
compiling.

It's the "partially" bit which is getting on my nerves.  The manual
section contains a priority list for finding #include files, but the
fifth item just vaguely states:

    5. Standard system directories are scanned.

.  Which directories are these?  Where is this documented?

I'm not stupid, I know vaguely what the purpose of these directories is.
But I need to know precisely which directories they are.

GCC was built mainly for the GNU project.  Why must the manual be so
vague on this point, even for GNU/Linux?

--
Alan Mackenzie (Nuremberg, Germany).


Date Sujet#  Auteur
5 Feb 25 * What are GCC's "Standard system directories" on GNU/Linux?5Alan Mackenzie
5 Feb 25 +* Re: What are GCC's "Standard system directories" on GNU/Linux?2Dan Purgert
5 Feb 25 i`- Re: What are GCC's "Standard system directories" on GNU/Linux?1Alan Mackenzie
5 Feb 25 `* Re: What are GCC's "Standard system directories" on GNU/Linux?2Kaz Kylheku
5 Feb 25  `- Re: What are GCC's "Standard system directories" on GNU/Linux?1Michael S

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal