I’ve been using MinGW32 to compile libraries and link statically to my programs.
I would like to know if I change the compiler to TDM-GCC would my old libraries link with new programs compiled with TDM? Or should I compile everything with the new compiler?
Thanks
The answer to your question largely depends on what the libraries are, and how you link to them.
If the libraries are import libraries for DLLs, then you may not need to re-compile. However, if the DLLs need to link to the same C++ runtime as the host executable, then you will need to re-compile if your host executable uses a different runtime from the DLL.
If the libraries are static libraries then you will need to re-compile if the static library is linked against a different C++ runtime from the program into which it is linked.