Re: Is the kernel compiler gcc by definition?

H. Peter Anvin (hpa@transmeta.com)
16 Oct 1998 13:51:25 GMT


Followup to: <19981015211153.B446@hal.rnl.ist.utl.pt>
By author: Carlos Morgado <l39801@alfa.ist.utl.pt>
In newsgroup: linux.dev.kernel
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> On Wed, Oct 14, 1998 at 05:48:23PM -0400, RHS Linux User wrote:
> >
> > Is there a policy on what C constructs may be in the kernel?
> > 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.
>

Incorrect. The kernel makes extensive use of gcc-specific constructs,
and hence cannot be compiled with a standard compiler.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- 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/