On 05/20/2017 03:56 PM, bartc wrote: > BTW /does/ Linux compile on /any/ modern compiler? I heard it was so > difficult to compile that gcc had to be specially modified to make it > possible.
The kernel compiles with recent bog standard gcc compilers just fine. The last time there was an issue was way back in the late 90s when RedHat forked GCC and made EGCS, but unfortunately that couldn't compile the kernel at the time, so they used an older version of GCC. Eventually EGCS merged back into the GNU project and actually became GCC (the old GCC faded away). I'm pretty sure the kernel can compile with the Intel compiler. I'm actually pretty sure the kernel can compile with TCC too, or at least it could at one time. The biggest problem with non-GCC compilers is the lack of GCC-specific extensions that the kernel uses. There apparently is a project to get the kernel to build with clang/llvm also. -- https://mail.python.org/mailman/listinfo/python-list