Hi. On Fri, 30 Jun 2006 08:37:06 +0100, Paul Howarth wrote: > $ gcc -o test -Wl,--as-needed -lxml2 test.o > $ ldd -r -u ./test Ah, right, there was that. I had a more complex case somewhere where I _think_ I tried putting --as-needed almost anywhere without visible effect. However, using --as-needed did not hurt there, either, so using it is fine with me.