Is there a tool that will analyze a large group of static archives, and order them for input to a one pass linker?
Is something like this what you're looking for...
lorder statica.a staticb.a | tsort
This will give you the list in the correct order.