readme
来自「fsmlabs的real time linux的内核」· 代码 · 共 26 行
TXT
26 行
This examples illustrates use of C++ in RTLinux programs.You need to be at the console to see the output from insmod app.o.To use C++ in RTLinux modules, you need to:- insert rtl_cpp.o support module.- #include rtl_cpp.h in your RT-program- if you have statically allocated objects thatneed initializing, call __do_global_ctors_aux() in init_moduleand __do_global_dtors_aux() in cleanup_module (see hello.o)- link your module with crtbegin.o and crtend.o; theorder is important (see Makefile)- the rtl.mk file provides needed CXXFLAGSTry inserting app.o module as an example.Thanks to Yunho Jeon <yunho@skylark.snu.ac.kr> for sharing theideas and code on the RTLinux mailing list.Michael Barabanov <baraban@fsmlabs.com>.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?