I have 50 odd utility programs that are all part of one 'system'. I currently have a make file that cascade builds each one from a higher level directory. Each program is in its own directory, and has its own makefile. Each program uses 4 (ish) of 7 libraries. Each program using a different set of 4 out of the 7l. What I'd like to do is place the list of 7 libraries in a higher make file and include them at the lower make file. However, when I build them, I currently get all 7 libraries linked in, even though the program needs only 4. Is there a way to tell gcc or ld to trim unused libraries? I did a search, and I found a -strip-dead for ld, but it doesn't seem to work. I also tried --no-whole-archive, and a -Wl switch that escapes me right now.. My version info: GNU ld version 2.15.91.0.2 20040727 (SuSE Linux) gcc version 3.3.4 (pre 3.3.5 20040809) -- -Chris Kwasneski Software Engineer Yuma Proving Grounds