This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: How do I install different header files based on --enable-kernel?
- From: Geoff Keating <geoffk at geoffk dot org>
- To: hjl at lucon dot org
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 2 Jul 2002 10:43:30 -0700
- Subject: Re: How do I install different header files based on --enable-kernel?
- References: <20020702095513.A14711@lucon.org>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> Date: Tue, 2 Jul 2002 09:55:13 -0700
> From: "H. J. Lu" <hjl@lucon.org>
> On mips, ll/sc is implemented in the kernel. I'd like to install
> different header files based on --enable-kernel=version. Is there
> a way to do that?
I'm sure that you're doing the wrong thing here. --enable-kernel
should only change the libc binary, not the header files installed.
For user apps, it's better to key off some CPP definition, because
that way you can compile an app to run across a bunch of machines with
different kernel versions and custom-tuned libcs, even on the machine
with the latest kernel version.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>