News for hackers. Stuff that matters.
Re:Hello world does not compile by AdieuToLogic on Friday February 06, 2026 @11:00PM (#46921189)
>> Works if you supply the correct include path(s)

The location of Standard C headers do not need to be supplied to a conformant compiler.

>> You could arguably fault ccc's driver for not specifying the include path to find the native C library on this system.

This is not a good implementation decision for a compiler which is not the C compiler distributed with the OS. Even though Standard C headers have well-defined names and public contracts, how they are defined is very much compiler specific.

So this defect is a "somethingburger."

Re:Hello world does not compile by Mic92 on Saturday February 07, 2026 @02:30AM (#46922017)
Well this compiler was written to build Linux as a proof of concept. You don't need a libc for building the kernel. Was it claimed anywhere that it is a fully compliant C compiler?
Re:Hello world does not compile by embedding-shape on Saturday February 07, 2026 @08:16AM (#46923609)
That's kind of moving the goal post no? They set out to build a C compiler that could compile the kernel, it can do that just fine?

Searching for "compliant" in the README doesn't seem to indicate that building a "conformant compiler" was even the goal here, so not sure why that's suddenly should be a requirement.