Re: #define __linux__

Philip Blundell (philb@gnu.org)
Sun, 23 Aug 1998 19:48:03 +0100


>One strange thing was that if I changes -O2 to -g it faild the final link but
>-O2 -g works ???

You always need to compile the kernel with optimisation on. It makes heavy
use of inline functions in some places and this only works with -O or higher.

p.

-
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.altern.org/andrebalsa/doc/lkml-faq.html