[klibc] Build problems: klibc with Linux 3.10.7

maximilian attems maks at stro.at
Thu Aug 22 11:34:53 PDT 2013

On Thu, Aug 22, 2013 at 06:39:04PM +0200, leroy christophe wrote:
> But I'm building a klibc/klcc for cross-compilation, and I don't
> need (and don't want) a powerpc klibc.so in /lib in the middle of
> all other i386 libs.
> As I say above your answer, when I set prefix to /opt/klibc and
> SHLIBDIR to /opt/klibc/lib, the target tried to load klibc.so from
> /opt/klibc/lib instead of /lib
> But ok, I found the way to achieve what I need. I need to do in two steps:
> 1) make prefix=/opt/klibc
> 2) make INSTALLROOT=/opt/klibc prefix=/ install
> This way, I was able to get a working klcc in /opt/klibc and working
> apps on my target.
> It is not obvious from the Documentation that it is the way to do.

the docs are outdated, waiting for hpa to be back for a quick review,
then i'll push the build patch and updates to the docs.

thank you all!


More information about the klibc mailing list