[uClibc] toolchain HOWTO?

Joel Ebel jbebel at ncsu.edu
Tue Dec 2 20:23:16 UTC 2003


I feel a bit unintelligent at the moment because I just don't know how 
I'm supposed to do things now.  All I've ever use uClibc for is 
compiling busybox, and all I've ever done to make it work is compile 
uClibc with default settings, and tell busybox to use 
/usr/i386-linux-uclibc/bin/i386-uclibc-gcc as the compiler.  This time, 
I compiled uClibc and find that the wrapper wasn't present.  I read, in 
some less than obvious locations, that the wrapper method is 
unsupported, and a toolchain should be built.  I downloaded a makefile 
for my version of gcc that I imagined would help me out, but it exited 
with these last few lines:

# Apply any files named binutils-*.patch from the source directory to 
binutils
/home/jbebel/uClibc/sources/patch-kernel.sh 
/home/jbebel/uClibc/build_i386/binutils-2.14.90.0.5 
/home/jbebel/uClibc/sources binutils-*.patch
/bin/sh: line 1: /home/jbebel/uClibc/sources/patch-kernel.sh: No such 
file or directory
make: *** [/home/jbebel/uClibc/build_i386/binutils-2.14.90.0.5/.patched] 
Error 127



I'm not a programmer by any means, and I don't even exactly know what a 
toolchain is, but I need to figure out how to get busybox to compile 
with uClibc.  I don't know what I would have done had the above makefile 
even finished.  Could someone perhaps make a quick howto so an idiot 
like me can figure out how to compile busybox with uClibc?  Or should I 
just get an older version of uClibc?  What's the last version that 
supports the wrapper method?

Thanks a lot,
Joel




More information about the uClibc mailing list