08 2023 档案
摘要:命令:g++ -Iinclude test.cpp -fPIC -shared -Wall -m64 -std=c++11 -O0 -g -o bin/test.so -g++: 编译器的名称 -Iinclude: 添加了一个头文件搜索路径,包含名为"include"的目录 test.cpp: 被编
阅读全文
摘要:1.进入网站:https://sourceware.org/gdb/wiki/STLSupport,下载STL Surport Tool 2.将stl_views_1.0.3.gdb放到linux任意路径下,如/data/ 3.进入gdb调试模式,输入source /data/stl_views_1
阅读全文