On 10 Jun 2021, at 11:48, Albrecht Schlosser wrote:
> Note: This *must* be done on a Linux system. Dependencies for other platforms including other configurations like `pango` need to be created/edited in the Makefiles "manually". This is what I called the "dependency mess". If anybody could show us an acceptable (i.e. "simple") way to create the dependendies dynamically (automatically during the build), cross-platform and independent of the chosen compiler (!) I'd appreciate that!
Part of the problem (and I think Albrecht and I have poked at this a bit in the past) is that makedepend is pretty ancient and was, IIRC, spun out of X11 work. It has a somewhat erratic behaviour too, in my experience, and often misses dependencies, and very occasionally adds others that do not really exits.
It bit me badly in the past (a build became corrupt because several key dependencies were missed) and I no longer trust it. I *suspect* this is also why the fltk configure builds occasionally fail to rebuild everything correctly after a pull, as the generated dependencies are actually incomplete.
For my part, I use gcc to generate the dependency list, which at least works reliably (in so far as it picks the same files during dependency generation as it picks during compilation...) but that’s not a very portable mechanism, since it doesn’t really work with MS cl.
Though the mechanism I use does work OK with the gcc personalities of icc and clang.
Hmmm, deja vu - did we not post possible options for doing this... at some point in the past...?
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/4330BE49-4CAF-4FAF-9C27-24E171158F9E%40gmail.com.
[ Direct Link to Message ]