Does "make build" install headers during build?
H.J. Lu
hjl.tools@gmail.com
Tue Apr 26 17:56:00 GMT 2016
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.
More information about the Libc-alpha
mailing list