This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: possible bug with install-headers make target
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Ryan Arnold <ryan dot arnold at gmail dot com>
- Cc: libc-help <libc-help at sourceware dot org>
- Date: Thu, 9 Jul 2009 09:08:51 -0400
- Subject: Re: possible bug with install-headers make target
- References: <ff4da150907072335u5e3573cdlde4219c51bd0be67@mail.gmail.com>
On Wed, Jul 8, 2009 at 2:35 AM, Ryan Arnold<ryan.arnold@gmail.com> wrote:
> Has anyone else noticed that :
>
> make install-headers install_root=/your/path/to/headers
>
> fails to install features.h, and other headers from the Makefile
> `headers' variable into /your/path/to/headers?
>
> When I do a make install_root=/install_root/ install I see that
> feature.h DOES get installed.
>
> This seems like a bug.
The header features.h is a required header to build a functional sysroot.
However, to build a functional sysroot you must run the install target.
To claim the install-headers target is broken you would have to claim
that it was designed for some purpose.
What is the documented purpose of install-headers?
You could claim that it's only purpose is to install a minimal set of
headers for rebuilding gcc, and if it does that correctly, then
nothing is wrong (even if features.h is not installed).
Cheers,
Carlos.