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

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


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