Re: Linux kernel modules development in C++

From: Vadim Lebedev (vlebedev@aplio.fr)
Date: Tue Oct 03 2000 - 11:28:08 EST


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



-
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/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:12 EST