static compile help

Jed Evnull jedevnull at gmail.com
Tue Oct 11 11:43:48 UTC 2011


I'm having problems statically compiling arm code with a uclibc toolchain
generated by buildroot-2011.08. My goal is to statically link against uclibc
for the small filesize. I'm compiling outside buildroot, per the
instructions.

The uclibc toolchain (generated via buildroot) seems to work. I can compile
a simple hello.c program statically (arm-linux-gcc hello.c -o hello -static
-s ) but source packages like lighttpd, or joe editor fail with various
errors. No source package has compiled to completion.  I start a compile
with ./configure --host=arm-linux CC=arm-linux-gcc

Am I going about this in the wrong way, or misusing the tools?


More information about the uClibc mailing list