Re: Is the kernel compiler gcc by definition?

Kurt Garloff (garloff@kg1.ping.de)
Fri, 16 Oct 1998 10:19:19 +0200


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?

Try
make CC="my_cc -D__KERNEL__ -I/usr/src/linux/include"
and see if another compiler complains, if you have one.

2.0 kernels are known to have problems even with egcs, so other optimizing
compilers will fail on 2.0.x, but with 2.1.x there might be a possibility to
succeed.

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff

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