Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #185644
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Kushal Kumaran <kushal@locationd.net> |
| Newsgroups | linux.debian.user |
| Subject | Re: Relocated Header Directories |
| Date | Mon, 21 Aug 2017 16:10:03 +0200 |
| Message-ID | <ugVyX-5o7-39@gated-at.bofh.it> (permalink) |
| References | <ugV5V-4XE-49@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Mon Aug 21 14:06:57 2017 |
| Old-Return-Path | <kushal@scandium.locationd.net> |
| X-Amavis-Spam-Status | No, score=-5.807 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, CAPINIT=0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, RDNS_NONE=0.793] autolearn=no autolearn_force=no |
| X-Policyd-Weight | DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=ERR(-1.5) CL_IP_EQ_FROM_IP=-2 (check from: .locationd. - helo: .scandium.locationd. - helo-domain: .locationd.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 |
| Dkim-Signature | v=1; a=rsa-sha256; c=simple/simple; d=locationd.net; s=scandium; t=1503324380; bh=GRJG9IXKJyj/xueWTNG+AvQqyqqMtGK0/lMdEJu337s=; h=From:To:Subject:References:Date:In-Reply-To:From; b=x0wXcJGJ1L7PhiZccjpDGH59o0ML8P0NgI+rEeN6axYk2W3foEQghhLYTJx0FG/8R zeK456FaFHOxVA/SF4Mr832mvjnmuxPZe+wHoPZ/2e//01NavG7Hus38tPgLvwqeaq vCoKAx/18fEAMq0AffPjnYniRitOp/6y82CZh8ZA= |
| Dkim-Signature | v=1; a=rsa-sha256; c=simple/simple; d=locationd.net; s=scandium; t=1503324380; bh=GRJG9IXKJyj/xueWTNG+AvQqyqqMtGK0/lMdEJu337s=; h=From:To:Subject:References:Date:In-Reply-To:From; b=x0wXcJGJ1L7PhiZccjpDGH59o0ML8P0NgI+rEeN6axYk2W3foEQghhLYTJx0FG/8R zeK456FaFHOxVA/SF4Mr832mvjnmuxPZe+wHoPZ/2e//01NavG7Hus38tPgLvwqeaq vCoKAx/18fEAMq0AffPjnYniRitOp/6y82CZh8ZA= |
| X-Clacks-Overhead | GNU Terry Pratchett |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/725317 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/874lt110di.fsf@niobium.community.veritas.com |
| Approved | robomod@news.nic.it |
| Lines | 40 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 21 Aug 2017 07:06:17 -0700 |
| X-Original-Message-ID | <874lt110di.fsf@niobium.community.veritas.com> |
| X-Original-References | <20170821133714.GA2159@fedora26> |
| Xref | csiph.com linux.debian.user:185644 |
Show key headers only | View raw
Dutch Ingraham <stoa@gmx.us> writes: > Hi everyone - > > It seems Debian has moved some header directories, like /usr/include/bits (and > sys, and asm, etc.) from /usr/include/ to, e.g., /usr/include/i386-linux-gnu/bits/ > (arch-specific). > > My first question is: Why? > This is so that headers that are architecture independent are separated from headers with are architecture dependent. Specifically, that they are available at different paths. This lets you install the headers (and libraries) for different architectures simultaneously, which is essential for debian's multiarch support. > My second question is: How does this work? There are no symlinks, yet a file > like /usr/include/signal.h, has the standard "#include <bits/sigset.h>", yet > that path does not exist with the change noted above. So how is this file > included? > > Any enlightenment is appreciated. There are several directories configured for searching header files. The command "gcc -xc -E -v - < /dev/null" will print those paths out. For my system, the directories are: /usr/lib/gcc/x86_64-linux-gnu/6/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed /usr/include/x86_64-linux-gnu /usr/include The list will be different for you because you appear to be running i386. -- regards, kushal
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Relocated Header Directories Dutch Ingraham <stoa@gmx.us> - 2017-08-21 15:40 +0200
Re: Relocated Header Directories Kushal Kumaran <kushal@locationd.net> - 2017-08-21 16:10 +0200
Re: Relocated Header Directories <tomas@tuxteam.de> - 2017-08-21 16:20 +0200
Re: Relocated Header Directories Dutch Ingraham <stoa@gmx.us> - 2017-08-21 21:20 +0200
Re: Relocated Header Directories <tomas@tuxteam.de> - 2017-08-21 22:00 +0200
Re: Relocated Header Directories Dutch Ingraham <stoa@gmx.us> - 2017-08-21 22:10 +0200
Re: Relocated Header Directories Christian Seiler <christian@iwakd.de> - 2017-08-22 07:10 +0200
Re: Relocated Header Directories Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-22 16:50 +0200
Re: Relocated Header Directories Christian Seiler <christian@iwakd.de> - 2017-08-22 17:00 +0200
Re: Relocated Header Directories Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-22 17:00 +0200
Re: Relocated Header Directories <tomas@tuxteam.de> - 2017-08-21 16:10 +0200
Re: Relocated Header Directories Dutch Ingraham <stoa@gmx.us> - 2017-08-21 21:00 +0200
csiph-web