In article <[EMAIL PROTECTED]> you wrote:
> # kgcc -v -E -dM -Wall -O2 -g -c -o hello.o hello.c
The biggest problem with this is that you use the glibc headers (in
/usr/include) instead of the kernel headers (in /usr/src/linux/include)
kgcc -O2 -I/usr/src/linux/include -D__KERNEL__ -o hello.o hello.c
would be a much better command-line.
Greetings,
Arjan van de Ven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/