CMake & Meson & CompCert

I tried to compile the Picolibc that uses the Meson build system with CompCert. The CompCert install I tried uses the GNU/GCC toolchain for preprocessing and linking. That makes the compiler relatively compatible to a GCC, beside that not all command line options are supported. I was used to CMake projects and there it is normally enough to just set CC=ccomp and you are ready and set (at least if you use the GNU/GCC toolchain)....

June 7, 2020 · 2 min · Christoph Cullmann