<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Boost on blog</title>
    <link>https://www.haoyuli.cn:1443/tags/boost/</link>
    <description>Recent content in Boost on blog</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <managingEditor>i@haoyuli.cn (haoyuli)</managingEditor>
    <webMaster>i@haoyuli.cn (haoyuli)</webMaster>
    <copyright>haoyuli5</copyright>
    <lastBuildDate>Wed, 26 Nov 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.haoyuli.cn:1443/tags/boost/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>centos7平台openppp2编译过程（非完整教程）</title>
      <link>https://www.haoyuli.cn:1443/posts/blog/ppp-build/</link>
      <pubDate>Wed, 26 Nov 2025 00:00:00 +0000</pubDate><author>i@haoyuli.cn (haoyuli)</author>
      <guid>https://www.haoyuli.cn:1443/posts/blog/ppp-build/</guid>
      <description>&lt;p&gt;本文记录了从零开始在 &lt;strong&gt;CentOS 7&lt;/strong&gt; 搭建开发环境到最终生成你的 &lt;code&gt;ppp&lt;/code&gt; 可执行文件，包括 Boost、OpenSSL、jemalloc 的静态构建，并且确保最终可在 CentOS 7 上部署。这个流程适合新机器或干净环境。&lt;/p&gt;&#xA;&lt;p&gt;我会按步骤分为 &lt;strong&gt;环境准备 → 第三方库编译 → 项目配置 → 编译生成&lt;/strong&gt;。&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;1-环境准备&#34;&gt;&lt;strong&gt;1️⃣ 环境准备&lt;/strong&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;更新系统&#34;&gt;更新系统&lt;/h3&gt;&#xA;&lt;p&gt;sudo yum update -y&lt;/p&gt;&#xA;&lt;p&gt;sudo yum groupinstall &amp;ldquo;Development Tools&amp;rdquo; -y&lt;/p&gt;&#xA;&lt;p&gt;sudo yum install epel-release -y&lt;/p&gt;&#xA;&lt;p&gt;sudo yum install wget tar bzip2 make cmake git -y&lt;/p&gt;&#xA;&lt;h3 id=&#34;安装-devtoolset-11gcc-11&#34;&gt;安装 Devtoolset 11（GCC 11）&lt;/h3&gt;&#xA;&lt;p&gt;CentOS7 默认 GCC 版本太低，需用 SCL 安装新版本：&lt;/p&gt;&#xA;&lt;p&gt;sudo yum install centos-release-scl -y&lt;/p&gt;&#xA;&lt;p&gt;sudo yum install devtoolset-11 -y&lt;/p&gt;&#xA;&lt;p&gt;scl enable devtoolset-11&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
