In message: <[EMAIL PROTECTED]> Aziz KEZZOU <[EMAIL PROTECTED]> writes: : Hi hackers, : I am wondering if I can use c++ iostreams inside the kernel ? : After all the code : cout << "Hello world!" << endl; : ends accessing the stdout just like : printf("Hello world!\n"); right ?
Just like, yes. Exactly the same thing as, no. The details matter here. There's a lot of code to make this happen. : So if I could compile my KLD module with static linkage to libstdc++, : that should be ok, right ? No. : Any one did or knows how to do this ? I've done C++ in the kernel before. IT is realtively easy to get very basic functioanlity. You won't have streams, exceptions, etc. However, to have all the features of C++ would take a lot of work. Warner _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"