[uClibc] newbie

Alejandro Mery Pellegrini amery at ing.puc.cl
Tue May 21 00:42:33 UTC 2002


> > I have the toolchain installed in /usr/local/uclibc on a RedHat7.2 box,
and
> > /usr/local/uclibc/bin:/usr/local/uclibc/i386-linux/bin heading my path.
> >
> > how should i build uClibc, and what/where should i copy to have my new
> > system ready for uClibc? Did i do something wrong?
>
> Its a little confusing what you're asking.  When you said "toolchain
> installed", I guess you just meant "downloaded"?  See the top-level
> uClibc/README for how to configure.  Once the 'make' is complete,
> then do a 'make install' as root and then the /usr/ARCH-linux-uclibc/*
> files will show up, and then you can use the above "make CC=..." on
> your subsequent application builds.

I understood that gcc-3.0.4-uclibc-20020410.src.tar was a gcc3.0.4 that
links for uclibc. that's what I called "toolchained gcc"
I used it to compile statically busybox and tinylogin.

I don't really understand how *libc works, and that why I didn't understand
what "You may also want to modify SHARED_LIB_LOADER_PATH, DEVEL_PREFIX, and
SYSTEM_DEVEL_PREFIX depending [...]" means.

Glibc talks about compiling inside a chrooted environment, but in that case
I need a compiler on it. Should I need to make a third pure-uclibc system
with gcc before?

Could you explain it to me, or give me some howto to read?

Respectfully,
Alejandro Mery







More information about the uClibc mailing list