Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #185645

Re: Relocated Header Directories

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Relocated Header Directories
Date 2017-08-21 16:10 +0200
Message-ID <ugVyY-5o7-59@gated-at.bofh.it> (permalink)
References <ugV5V-4XE-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 21, 2017 at 08:37:14AM -0500, Dutch Ingraham wrote:
> 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?

Multi-arch. These days you can have libraries (and the corresponding
headers) for several architectures co-installed on your system.

Start here:

  https://wiki.debian.org/Multiarch

> 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?

Your compiler should know which architecture is relevant and set the default
include directories (can't look it up now to be sure, sorry).

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlma5+cACgkQBcgs9XrR2kZbkgCeMXS69kgQkQAkOlMgIyJgPt8i
YloAnREMU31YSlj/GrO3/Yv/u/bAQ1lP
=DdkG
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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