Re: Is the kernel compiler gcc by definition?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 16 Oct 1998 17:32:01 +0100 (BST)


> > Or is gcc the de-facto definition of what kind of code is allowed?
> > Or something else?
>
> My believe is the standard de facto is Alan not gcc itself. Gcc is ANSI C
> compliant with some GNU extensions. Usually you can put any ANSI C
> constructs into the kernel.

The standard is Documentation/CodingStyle and everything else is tradition
(which is changing - C++ style comments seem to be slowly creeping into the
kernel for example)

There is a seperate issue for things like make config and the scripts/tools
stuff because if someone is cross compiling they may be building/running
on another non Linux non gcc native compiler.

Thats one good reason make config is so neat as it lacks any C code ;)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/