This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Does "make build" install headers during build?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 26 Apr 2016 10:56:31 -0700
- Subject: Re: Does "make build" install headers during build?
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOpmmEFwO1KswHO7aDqCw81ooSACvGwftRopr=saPL9w+w at mail dot gmail dot com> <878u005kfv dot fsf at linux-m68k dot org>
On Tue, Apr 26, 2016 at 10:49 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>> When I build glibc as root, will "make build" install headers during build?
>
> make[1]: *** No rule to make target 'build'. Stop.
What I meant was "make all". It was fixed by:
commit d7e06450b9d730d7b62ba52f611585810fa902df
Author: Carlos O'Donell <carlos@redhat.com>
Date: Tue Jul 16 17:55:43 2013 -0400
BZ #15711: Avoid circular dependency for syscall.h
The generated header is compiled with `-ffreestanding' to avoid any
circular dependencies against the installed implementation headers.
Such a dependency would require the implementation header to be
installed before the generated header could be built (See bug 15711).
In current practice the generated header dependencies do not include
any of the implementation headers removed by the use of `-ffreestanding'.
---
2013-07-15 Carlos O'Donell <carlos@redhat.com>
[BZ #15711]
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
Avoid system header dependency with -ffreestanding.
($(objpfx)bits/syscall%d): Likewise.
--
H.J.