News for hackers. Stuff that matters.
Re:Zig cc: A drop-in replacement for GCC/Clang by trasz on Wednesday March 25, 2020 @09:46AM (#22684446)
The problem with cross compilation isn’t the compiler, it’s the build system. See eg the autoconf, which builds test binaries and then executes them, to test for availability of strcmp(3).
Re:Zig cc: A drop-in replacement for GCC/Clang by yellowapple on Wednesday March 25, 2020 @11:59AM (#22685804)
I feel like there should be a more sane way to test for the availability of strcmp than to build and run a whole executable and see if it works.

The sheer number of things autoconf does even for trivial programs has always been baffling to me.