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


Groups > linux.debian.kernel > #80899

Re: consolidate linux-libc-dev headers

From Bastian Blank <waldi@debian.org>
Newsgroups linux.debian.kernel
Subject Re: consolidate linux-libc-dev headers
Date 2023-11-18 17:00 +0100
Message-ID <HBvTH-6jGY-7@gated-at.bofh.it> (permalink)
References <HAPhL-5Tqk-5@gated-at.bofh.it> <HAQnv-5U1e-5@gated-at.bofh.it> <HAQQx-5UpG-1@gated-at.bofh.it> <HASpj-5V9G-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Nov 16, 2023 at 10:27:26PM +0100, Bastian Blank wrote:
>                                           However it does not matter,
> because the include list already is correct:
> 
> | #include <...> search starts here:
> |  /usr/lib/gcc-cross/s390x-linux-gnu/13/include
> |  /usr/lib/gcc-cross/s390x-linux-gnu/13/../../../../s390x-linux-gnu/include
> |  /usr/include/s390x-linux-gnu
> |  /usr/include
> | End of search list.

I can confirm that this works:

| % cat test.c 
| #include <asm/errno.h>
| % dpkg --print-architecture 
| arm64
| % s390x-linux-gnu-gcc -E test.c | grep errno.h
| # 1 "/usr/lib/linux/uapi/s390/asm/errno.h" 1 3 4
| # 1 "/usr/include/asm-generic/errno.h" 1 3 4
| # 6 "/usr/include/asm-generic/errno.h" 2 3 4
| # 2 "/usr/lib/linux/uapi/s390/asm/errno.h" 2 3 4

Bastian

-- 
Beam me up, Scotty!  It ate my phaser!

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

consolidate linux-libc-dev headers Dimitri John Ledkov <dimitri.ledkov@canonical.com> - 2023-11-16 19:30 +0100
  Re: consolidate linux-libc-dev headers Bastian Blank <waldi@debian.org> - 2023-11-16 20:40 +0100
    Re: consolidate linux-libc-dev headers Dimitri John Ledkov <dimitri.ledkov@canonical.com> - 2023-11-16 21:10 +0100
      Re: consolidate linux-libc-dev headers Bastian Blank <waldi@debian.org> - 2023-11-16 22:50 +0100
        Re: consolidate linux-libc-dev headers Bastian Blank <waldi@debian.org> - 2023-11-18 17:00 +0100
    Re: consolidate linux-libc-dev headers Dimitri John Ledkov <dimitri.ledkov@canonical.com> - 2023-11-16 22:00 +0100
  Re: consolidate linux-libc-dev headers Helmut Grohne <helmut@subdivi.de> - 2023-12-23 21:50 +0100
    Re: consolidate linux-libc-dev headers Bastian Blank <waldi@debian.org> - 2023-12-24 16:30 +0100
      Re: consolidate linux-libc-dev headers Bastian Blank <waldi@debian.org> - 2023-12-24 20:10 +0100
        Re: consolidate linux-libc-dev headers Bo YU <tsu.yubo@gmail.com> - 2023-12-26 05:30 +0100

csiph-web