Re:Building the Linux kernel with clang
by pjmlp on Thursday September 21, 2017 @12:38PM
(#15305190)
Unix managed to be written without those extensions.
[ Parent
| on HN ]
Re:Building the Linux kernel with clang
by taeric on Thursday September 21, 2017 @12:43PM
(#15305238)
Which one? And did it successfully compile with multiple compilers?
Re:Building the Linux kernel with clang
by pjmlp on Thursday September 21, 2017 @01:54PM
(#15305884)
> Which one?
UNIX, the genesis of C and all that derived from AT&T original code.
> And did it successfully compile with multiple compilers?
Any that was K&R C compatibile.
GCC was a toy compiler not used for any serious UNIX development until Sun decided to start selling the SDK as part of a SunOS developers edition, quickly followed by other UNIX vendors.
So by definition, until GCC became an usefull project, there were no UNIX kernels written with GCC C extensions.
Re:Building the Linux kernel with clang
by taeric on Thursday September 21, 2017 @05:28PM
(#15307516)
So, I would have understood if you said the original AT&T UNIX. I've always heard the term used to cover the entire family. And, I honestly had no clue whether or not the likes of SunOS/HP-UX/etc were compiled with multiple compilers. My understanding was each typically came with their own compiler.