[uClibc] buildroot, toolchain or root_fs?

David Poole dpoole at mobl.com
Tue May 4 21:19:01 UTC 2004


> I need to setup a development system for a uClibc-based system and I
> don't know what the best approach is. This development system needs
> uClibc-0.9.26, kernel(headers) 2.4.26, gcc-3.3.2 and binutils. The
> uClibc libraries need to be compiled with certain options, not the
> defaults.
>
> Should I choose `buildroot` as a place to start? Or is it simpler to
> start with the `root_fs_i386` and try and modify that? Or do I need to
> build a toolchain?

I've only been working with uClibc for a short time but this is what 
I've gotten to work.

If you're targeting an embedded system, you might want 'toolchain'. I'm 
targeting embedded ARM Linux with a 'toolchain' build via an x86 RedHat 
Fedora Core-1 machine (gcc-3.3.2).  I changed 
toolchain/gcc-3.3.x/Makefile, setting ARCH to arm and typed 'make'.

I built 'buildroot' first by misunderstanding. 'buildroot' builds a 
complete uClibc runnable system. I wound up with compiler and tools 
that would run on ARM-linux targeting ARM-linux instead of running on 
x86-Linux targeting ARM-linux. Oops.

-- 
David Poole <dpoole at mobl.com>
Mobility Electronics, Idaho   http://www.mobl.com
960 Broadway Avenue, Suite 300
Boise, ID  83706
208-395-1300 x241




More information about the uClibc mailing list