lkml.org 
[lkml]   [2000]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux kernel modules development in C++
Abel Munoz Alcaraz wrote:
>
> I want to develop a platform-independent driver (Windows 9x/NT/2000, Linux,
> Mac OS,...).
> I have written the Windows platform version in C++ using Numega's tools
> encapsulating the driver code in classes.
> More of this classes isn't OS specific and it work well in any OS.
>
> This is the reason because I want to do this. I want reuse a lot of code.

Code reuse is fun. I suggest you do it the other way around though -
write
a driver in plain C for both linux and windows.

C++ for linux may be possible, if you do the job of making C++
work with kernel code yourself. Most others don't want it, can't be
convinced, and certainly won't help you with it. If this is too
much - port your driver to C.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.063 / U:6.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site