You should theoretically be able to use C++ in kernel modules, as long as
you are careful with how you compile the module, and how you treat
traditional C .h files. Really all the module loader looks for are a bunch
of exported symbols in your module.  As long as it finds those (and has no
unresolved symbols that your module wants to link to), it will be able to
link your module into the kernel and jump to the the init_module()
function.

-Calin


On Wed, 26 Sep 2001, Rajeev wrote:

> Hi there,
>
> we are planning to write a larger program and we need some kind
> of real-time-environment. We are going to use C++ as our
> programming-language. My question is, is it possible to use C++
> in RT-Modules? We tried it but getting some error like undefined symbol
> _rtti etc. while using insmod.
>
> Please send the details.
>
> Hope you can help :-)
>
> Regards,
>
>

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to