Re: C++ in linux kernel

From: Andi Kleen
Date: Fri Feb 08 2008 - 08:45:08 EST


"rohit h" <hrohit85@xxxxxxxxx> writes:

> Hi,
> I am a kernel newbie.
> I tried to insmod a C++ module containing classes, inheritance.
> I am getting 'unresolved symbol' error when I use the 'new' keyword.
> What could the problem be?

If you want to use C++ in the kernel you would need to provide
all the run time library support for it youself. It's possible,
but not easy and encouraged

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