4 ms·
> When something doesn't build properly then you start needing to know the details and your logic You would use compile_commands.json for this, which would sho
by nickelpro 3y ago
> When something doesn't build properly then you start needing to know the details and your logic
You would use compile_commands.json for this, which would show you the literal commands being invoked. What program is doing the invoking is 100% irrelevant. If the invoking program is what is breaking your build, your build is screwed beyond comprehension.
You don't need to know LLVM IR or the GCC intermediate representations, you don't need to know the internals of the ELF format, and you don't need to know make.
If you want to know these things more power to you, but don't insist that everyone should be writing LLVM IR because it's a more general building block than C++ or that anyone should use make for the same reason.