摘要: 001、系统信息 [root@PC1 software]# cat /etc/system-release CentOS Linux release 7.6.1810 (Core) 002、当前gcc编译器版本 [root@PC1 software]# gcc --version gcc (GCC) 阅读全文
posted @ 2023-07-17 23:08 小鲨鱼2018 阅读(1247) 评论(0) 推荐(0) 编辑
摘要: 01、系统信息 [root@PC1 ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 02、测试python3 [root@PC1 ~]# python3 --version bash: python3: command 阅读全文
posted @ 2023-07-17 22:40 小鲨鱼2018 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 001、问题configure: error: GMP is missing or unusable 002、解决方法: [root@PC1 gdb-13.2]# yum -y install gmp* 003、验证; [root@PC1 gdb-13.2]# make 。 阅读全文
posted @ 2023-07-17 22:35 小鲨鱼2018 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 001、问题:configure: WARNING: expat is missing or unusable; some features may be unavailable. 002、解决方法 [root@PC1 gdb-13.2]# yum install expat-devel 003、验 阅读全文
posted @ 2023-07-17 22:07 小鲨鱼2018 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 001、查看软链接 [root@PC1 software]# ls -l /lib64/libc.so.6 lrwxrwxrwx. 1 root root 12 Jul 17 17:22 /lib64/libc.so.6 -> libc-2.17.so 002、执行 /lib64/libc.so.6 阅读全文
posted @ 2023-07-17 18:11 小鲨鱼2018 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 001、问题:checking whether to use .ctors/.dtors header and trailer... configure: error: missing __attribute__ ((constructor)) support?? [root@PC1 build]# 阅读全文
posted @ 2023-07-17 17:07 小鲨鱼2018 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 001、 以glibc-2.31为例 [root@PC1 glibc-2.31]# pwd /home/software/glibc-2.31 [root@PC1 glibc-2.31]# cat INSTALL | grep -E "newer|later" | grep "*" ## 查看安装依 阅读全文
posted @ 2023-07-17 15:41 小鲨鱼2018 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 001、系统 [root@PC1 software]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noa 阅读全文
posted @ 2023-07-17 15:35 小鲨鱼2018 阅读(866) 评论(0) 推荐(0) 编辑
摘要: 001、系统信息 [root@PC1 home]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarc 阅读全文
posted @ 2023-07-17 12:00 小鲨鱼2018 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 001、gcc 编译器在编译安装的时候报错:collect2: error: ld terminated with signal 9 [Killed] [root@PC1 build]# make -j4 ## 编译安装c编译器gcc-13.1.0,报错如下: 002、报错原因及解决方法 swap内 阅读全文
posted @ 2023-07-17 11:07 小鲨鱼2018 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 002、make表示编译 批量执行编译文件makefile中的指令。 002、make -j4 -j(表示 job 的数目)参数可以对项目在进行并行编译。 make -j4,让make 最多允许 4 个编译命令同时执行,这样可以更有效的利用 CPU 资源。 由此看来,在多核 CPU 上,适当的进行并 阅读全文
posted @ 2023-07-17 09:41 小鲨鱼2018 阅读(2497) 评论(0) 推荐(0) 编辑
摘要: 001、 ll 只能显示日期 [root@PC1 test01]# ls a.txt [root@PC1 test01]# ll ## ll命令显示日期 total 4 -rw-r--r--. 1 root root 21 Jul 17 16:51 a.txt 002、stat显示完整的日期 [ro 阅读全文
posted @ 2023-07-17 08:59 小鲨鱼2018 阅读(1539) 评论(0) 推荐(0) 编辑