📄 readme
字号:
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 CXXFLAGSThanks 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -