What do you mean by static? all static, static libc, static tcl/tk lib, ...?
for i in /usr/bin/* ; do if ldd $i | grep libc >/dev/null ; then echo $i: \
dynamic libc ; else echo $i: static libc ; fi ; done
I admit that this one doesn't check for shell scripts, so shell scripts
will be marked static.
Andreas