Messages in this thread | | | Date | Mon, 27 May 2002 23:35:20 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH][RFC] PentiumPro/II split in x86 config |
| |
Em Tue, May 28, 2002 at 12:24:14PM +1000, Keith Owens escreveu: > On Mon, 27 May 2002 23:16:47 -0300, > Arnaldo Carvalho de Melo <acme@conectiva.com.br> wrote: > >Em Tue, May 28, 2002 at 12:05:54PM +1000, Keith Owens escreveu: > >> Better still, use the C language standard: > >> > >> .vendor = X86_VENDOR_INTEL, > > > >oops, gcc accepts that, good to know that this is standard C, but for the > >kernel, I think that this doesn't matter as gcc is the only compiler that > >understands the GCC Language 8) Or am I wrong? I'd love to be... 8) > > The kernel can only be compiled with gcc, but some bits of the build > are compiled and run on the host, using the host compiler. Avoid using > gccisms where there is a standard way of doing it.
I see, I was not thinking about those bits of the build, only kernel code, where there are plenty of other gccisms.
/me will take a look at the latest C standard... :-)
- Arnaldo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |