On Feb 20, 2009, at 4:27 PM, Krzysztof Kosiński wrote:
The link time did increase a few seconds (I ahven't done any quantative tests), but the benefit of not having to care about the link order is much more important. Now files can be placed in the directories they belong to, instead of the directories they had o be in in order not to break the linking. This was the case with e.g. calligraphic-profile- rename.cpp, which had to be in dialogs/ instead of ui/dialog/ because it was used in toolbox.cpp. There are more examples. One idea we could try to reduce the link time is to create a large static library from all the .o files.
On thing I'd strongly suggest is to look at how to layer things.
That is, from natural use there could be a .a structure that comes out from the nature of the classes themselves.
Certain items might be appropriate for separation, such as croco, libnr, etc.
The layering of GTK+ might be another simple inspiration: http://www.gtk.org/documentation.html * GLib * GObject * Pango * ATK * GdkPixbuf * GDK * GTK