
gcc
文章平均质量分 61
风竹夜
github: https://github.com/fengzhuye
开源软件, github,c/c++, linux,orocos,ros,ethercat,canopen, matlab etc.
展开
-
flex & bison mark
this link: http://aquamentus.com/flex_bison.htmland this link: https://blog.youkuaiyun.com/GW569453350game/article/details/47807123Step1.在bison中定义需要使用的token, 并且根据上下文无关文法BNF定义规则Step2.在 flex 中定义 token 的规则, yytext -> yylval (union)Step3.在 bison gramma 解析的原创 2021-06-25 15:36:11 · 247 阅读 · 0 评论 -
gdb 常用命令 和 core dump 分析
https://cand-w18.unexploitable.systems/l/lab02/note-on-gdb.txt原创 2020-04-15 17:56:32 · 1335 阅读 · 0 评论 -
gcc ccache 配置 mark
下载最新的ccachehttps://ccache.dev/download.htmlwget http://xxx./configuremakemake installmax_size = 5Gsloppiness = file_stat_matches,file_stat_matches_ctime,locale,system_headerscompiler_check = ...原创 2020-01-03 21:33:09 · 609 阅读 · 0 评论 -
gcc开启/关闭 编译警告/报错 -Werror
有时候我们编译一个大的项目的时候,会出现很多错误使得屏幕堆满了很多无用的信息。一般情况下我们需要找到首次出现错误的地方,在gcc中添加编译选项可以使编译停止在第一次出现错误的地方:$ gcc -Wfatal-errors foo.c // GCC 4.0 and later$ g++ -Wfatal-errors foo.cpp$ g++ -fmax-errors=N foo.cpp原创 2015-06-25 19:55:57 · 24098 阅读 · 0 评论