<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Discuz! BBS - Linux编译</title>
    <link>https://www.unicoder.cn/forum.php?mod=forumdisplay&amp;fid=56</link>
    <description>Latest 20 threads of Linux编译</description>
    <copyright>Copyright(C) Discuz! BBS</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 16 May 2026 07:45:50 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.unicoder.cn/static/image/common/logo_88_31.gif</url>
      <title>Discuz! BBS</title>
      <link>https://www.unicoder.cn/</link>
    </image>
    <item>
      <title>automake 小技巧</title>
      <link>https://www.unicoder.cn/forum.php?mod=viewthread&amp;tid=136</link>
      <description><![CDATA[https://www.cnblogs.com/Rainingday/p/12616235.html
https://www.fengnayun.com/news/content/226695.html
https://www.python100.com/html/21XPAPS7017R.html
生成aclocal.m4文件：
aclocal
生成configure文件：
autoconf
生成config.h.in:
autoheader
生成Makefile. ...]]></description>
      <category>Linux编译</category>
      <author>admin</author>
      <pubDate>Fri, 28 Jul 2023 11:54:35 +0000</pubDate>
    </item>
    <item>
      <title>gcc 编译相关  寻找位置等</title>
      <link>https://www.unicoder.cn/forum.php?mod=viewthread&amp;tid=132</link>
      <description><![CDATA[reference：https://blog.csdn.net/xp178171640/article/details/119562948

nm XXX.a
这个命令可列出函数，全局变量等。
readelf -h XXX.a
这个命令可列出所有so的OS，ABI，架构信息，类别（32/64位）等等]]></description>
      <category>Linux编译</category>
      <author>admin</author>
      <pubDate>Sat, 22 Jul 2023 06:58:08 +0000</pubDate>
    </item>
    <item>
      <title>bakefile小工具的编译和下载地址</title>
      <link>https://www.unicoder.cn/forum.php?mod=viewthread&amp;tid=92</link>
      <description><![CDATA[https://bakefile.org/
文档地址在：
~/bakefile-1.2.6/docs/html/index.html]]></description>
      <category>Linux编译</category>
      <author>admin</author>
      <pubDate>Wed, 07 Jun 2023 06:37:33 +0000</pubDate>
    </item>
    <item>
      <title>Linux 6.2.15 内核编译过程</title>
      <link>https://www.unicoder.cn/forum.php?mod=viewthread&amp;tid=88</link>
      <description><![CDATA[sudo make menuconfig

sudo make modules
sudo make modules.builtin
当提示找不到System.map时，写如下链接：
ln -s /boot/System.map-6.2.15  /lib/modules/6.2.15/build/System.map

sudo make -j3 
有时可以加上如下参数：  -WITH_OPENMP=NO不知道是做什么用的，还 ...]]></description>
      <category>Linux编译</category>
      <author>admin</author>
      <pubDate>Tue, 06 Jun 2023 04:54:38 +0000</pubDate>
    </item>
    <item>
      <title>Make时 报cc1plus: all warnings being treated as errors解决方法</title>
      <link>https://www.unicoder.cn/forum.php?mod=viewthread&amp;tid=84</link>
      <description><![CDATA[cc1plus: all warnings being treated as errors  这个是将warning强制当做error了，当然报错，编译不过去。
解决方法：

1.在Makefile中找到 -Werror项，删除即可。删除后重新编译。
2.或设置环境变量 c工程设置（可以直接在Makefile中加上一行 CFLAGS=\&quot;-Wno-error\&quot;)
e ...]]></description>
      <category>Linux编译</category>
      <author>admin</author>
      <pubDate>Sat, 03 Jun 2023 23:21:09 +0000</pubDate>
    </item>
    <item>
      <title>Make时 报Makefile:160: recipe for target \'all\' failed解决办法</title>
      <link>https://www.unicoder.cn/forum.php?mod=viewthread&amp;tid=83</link>
      <description><![CDATA[1）添加编译选项-D WITH_OPENMP=ON

cmake -D WITH_OPENMP=ON
make -WITH_OPENMP=ON

（对于英特尔编译器，使用-openmp而不是-qopenmp）
2）对于新安装了python来说，也可能有问题，是路径的问题，将

/usr/sbin  /usr/bin 添加到路径最前面

(一种方法  export PATH=/u ...]]></description>
      <category>Linux编译</category>
      <author>admin</author>
      <pubDate>Sat, 03 Jun 2023 23:17:26 +0000</pubDate>
    </item>
  </channel>
</rss>