Matthias Klose wrote:
Frank Heckenbach writes:
Note that the RTS interface might change with each GPC version, so the shared lib will have to be rebuilt for each one (and the old ones kept if you have any exetuables using them).
That could be better for a shared library. Maybe you can decouple the shared object name from the gpc version and only increase the soname, iff the ABI changes in an incompatible way? If that's not possible, maybe mark the ChangeLog entries with "libgpc ABI change", as upstream gcc does with g++.
If you have a solution that doesn't involve additional work for me, I'm all ears ... ;-)
Note that not only changes in the RTS sources can cause such incompatibilities, but also some changes in the compiler internals (built-in types, parameter passing conventions, ...), and missing one means hard to find bugs, i.e. time wasted with debugging (which I don't want to do if I can avoid it).
Frank