![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编译工具
tomeasure
一个立志于用编程满足自己吃货欲望的吃货
展开
-
编译MOTR的时候,报错:error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_R
关键报错信息/usr/local/include/c++/8.2.0/bits/basic_string.tcc:1067:1: error: cannot call member function 'void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Allo原创 2021-07-07 15:54:06 · 2919 阅读 · 5 评论 -
安装/升级gcc时,执行 ./contrib/download_prerequisites 太慢
问题背景Linux 安装 gcc 的时候需要执行 ./contrib/download_prerequisites,它会下载几个依赖:mpfr、mpc、gmp 等。原下载链接比较慢:[luban@k8s-deploy-6ph3mb-1616471870889-7d64d9dc66-w579j gcc-4.9.4]$ ./contrib/download_prerequisites--2021-03-24 17:32:54-- ftp://gcc.gnu.org/pub/gcc/infrastruc原创 2021-03-24 17:51:01 · 7858 阅读 · 11 评论 -
g++命令行参数
介绍预处理[器] => .i文件编译[器] => .s文件汇编[器] => .o文件链接[器ld] => 可执行程序参数详解-x language filename设定文件所使用的语言,使后缀名无效,对以后的多个有效。根据约定C语言的后缀名称是.c的,而C++的后缀名是.C或者.cpp。使用none关掉上一个选项。可指定的 language:...原创 2019-08-15 09:46:13 · 2785 阅读 · 0 评论