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

new.cpp

Reply via email to