Deutsch English Français Italiano |
<vnvik4$2qqi$1@news.muc.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Alan Mackenzie <acm@muc.de> Newsgroups: comp.lang.c Subject: What are GCC's "Standard system directories" on GNU/Linux? Date: Wed, 5 Feb 2025 11:38:44 -0000 (UTC) Organization: muc.de e.V. Message-ID: <vnvik4$2qqi$1@news.muc.de> Injection-Date: Wed, 5 Feb 2025 11:38:44 -0000 (UTC) Injection-Info: news.muc.de; posting-host="news.muc.de:2001:608:1000::2"; logging-data="93010"; mail-complaints-to="news-admin@muc.de" User-Agent: tin/2.6.4-20241224 ("Helmsdale") (FreeBSD/14.2-RELEASE-p1 (amd64)) Bytes: 1444 Lines: 22 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).