[klibc] Detecting KLIBC from userspace

Martin Schlemmer azarah at nosferatu.za.org
Sun Mar 6 12:17:20 PST 2005

On Sun, 2005-03-06 at 10:59 -0800, H. Peter Anvin wrote:
> Martin Schlemmer wrote:
> > Hi
> > 
> > Currently I am trying to get device-mapper and dmraid ported to compile
> > against klibc.  So far there was no real issues, as the only thing they
> > used was fscanf and feof not available presently in klibc (but easy to
> > work around).
> > 
> > Other than that there are really no way to easily check for installed
> > klibc's other than trying to mangle the output of klcc (from adjusted
> > configure.in):
> > 
> What exactly are you trying to do, and what's the reason you can't do it 
> with klcc?
>  From your description it looks like you're trying to do what klcc does 
> "manually", which is quite frankly just stupid.

Guess I did ask for comments ;/

Basically klcc is currently too 'basic' in what flags it supports to
work with autotools scripts, etc.  I guess going my suggested way above
might be the backwards approach for
flags, etc.

But, includedir, libdir, etc might still be interesting to get - for
example I want to install the header and lib from device-mapper into
klibc's include/lib dirs for multi arch building on one machine, etc.

Martin Schlemmer

---------------------[ Ciphire Signature ]----------------------
From: azarah at nosferatu.za.org signed email body (953 characters)
Date: on 06 March 2005 at 20:14:24 UTC
To:   hpa at zytor.com, klibc at zytor.com
: Ciphire has secured this email against identity theft.
: Free download at www.ciphire.com. The garbled lines
: below are the sender's verifiable digital signature.
------------------[ End Ciphire Signed Message ]----------------

More information about the klibc mailing list