lkml.org 
[lkml]   [2000]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux kernel modules development in C++
Date

I'm attaching a module i'm using to write C++ drivers
for linux 2.0.xx


The following line goes into the Rules.make file

%.o: %.cpp
$(CC) -fno-exceptions -fno-rtti $(CFLAGS) $(EXTRA_CFLAGS)
$(CFLAGS_DEBUG) -c -o $@ $<



For me it is working really great


the new.cpp file goes in my arch/xxxx/lib directory



Vadim

[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.022 / U:4.756 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site