Linking statically might be useful, especially when linking Windows applications since MinGW is less buggy then.