Re: [PATCH] doc: volatile considered evil

From: Rob Landley
Date: Wed May 09 2007 - 18:49:33 EST


On Wednesday 09 May 2007 4:23 pm, Alan Cox wrote:
> arch/foo almost always supports a single compiler too - gcc. We simply
> don't support anything else. We use gcc inlines and features extensively.
>
> And who cares about such fine detail of C99, did they fix the struct copy
> bug in ANSI C even ? [1]

Um, I've picked up the tinycc baton (in my copious free time) and am slowly
trying to get it to build a bootable linux kernel. There's a ways to go, and
I really have no idea what I'm doing, but I have help and even made a release
recently (which is already significantly out of date, largely thanks to David
Wheeler):

http://landley.net/code/tinycc/

Admittedly, a lot of this involves implementing gcc extensions, but gratuitous
use of them when there's a perfectly good c99 way of doing it isn't
necessarily a plus. Fabrice got it as far as tccboot before QEMU ate his
life, we've improved a bit since then, and there's presumably a finite amount
of work left to be done...

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