0. Obtain a working UCLIBC Based Linux System.

0. First, you must obtain a working UCLIBC based Linux system. Alternatively you could set up a cross compiler, but since this is more work, I did the former. Embedded Gentoo provides such a system. You can get it at

<any gentoo mirror>/experimental/x86/embedded/stages/

How to build such a system is beyond the scope of this HOWTO. I recommend reading The Gentoo Handbook and proceeding with a stage3 install until you have a stable, up-to-date system.

In your UCLIBC system, create a pristine working directory, and set the environment variable $WORKING equal to the full path to that directory:

WORKING=/path/to/pristine/directory