Listing 1. Compiling test_printf.c

gcc -c -g   test_printf.c -o test_printf.o gcc test_printf.o -nostdlib -nostartfiles 
-Wl,-dynamic-linker= /home/dvhart/projects/glibc/glibc-2.1.3.orig/ glibc-2.1.3/elf/ld-linux.so.2 
/home/dvhart/projects/glibc/glibc-2.1.3.orig/ glibc-2.1.3/csu/crt1.o 
/home/dvhart/projects/glibc/glibc-2.1.3.orig/ glibc-2.1.3/csu/crti.o 'gcc --print-file-name=crtbegin.o` 
-L/home/dvhart/projects/glibc/ glibc-2.1.3.orig/glibc-2.1.3 -L/home/dvhart/projects/glibc/ 
glibc-2.1.3.orig/glibc-2.1.3/elf -L/home/dvhart/projects/glibc/ glibc-2.1.3.orig/glibc-2.1.3/linuxthreads 
/home/dvhart/projects/glibc/glibc-2.1.3.orig/ glibc-2.1.3/elf/libdl.so.2 -lc 
/home/dvhart/projects/glibc/glibc-2.1.3.orig/ glibc-2.1.3/elf/ld-linux.so.2 
/home/dvhart/projects/glibc/glibc-2.1.3.orig/ glibc-2.1.3/libc_nonshared.a -lgcc 
`gcc --print-file-name=crtend.o` /home/dvhart/projects/glibc/glibc-2.1.3.orig/ glibc-2.1.3/csu/crtn.o -o test_printf