Another cool trick I'm about to try involves recompiling glibc for the linux kernel you want to support, with the compiler you want to use.
This gets into an area of weird when you need to support a 10 year old kernel on the current compiler.
If this works, I would be able to cross-compile our product on a modern linux for old linuxes. Which means I can finally keep up-to-date on Jenkins, since the current Jenkins distributables require a java run time so modern, it doesn't work on 10 year old machines.
CMake tantalizingly fails to work very well when you need to cross-compile.
I have a collection of files that I cannot know until after building all the executables. So, I need a post-build, pre-install/pre-packaging step that allows me to specify this collection of files so I can get them into the debian/RPM files.
CMake, though, isn't built to accomodate something like this... which, honestly, is kind of a basic requirement for a fair number of use cases. So, yeah.
Bravo, CMake. You fucking suck, yet you're the most popular system out there for this kind of thing.
Go to page: ...