This is the mail archive of the
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 <email@example.com> wrote:
> "H.J. Lu" <firstname.lastname@example.org> writes:
>> When I build glibc as root, will "make build" install headers during build?
> make: *** No rule to make target 'build'. Stop.
What I meant was "make all". It was fixed by:
Author: Carlos O'Donell <email@example.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 <firstname.lastname@example.org>
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
Avoid system header dependency with -ffreestanding.