码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • LFS学习系列4 — II.构建准备 —— 2. 准备宿主系统


    II. Preparing for the Build

    • 2. Preparing the Host System

      • Introduction
      • Host System Requirements
      • Building LFS in Stages
      • Creating a New Partition
      • Creating a File System on the Partition
      • Setting The $LFS Variable
      • Mounting the New Partition

    1. Introduction(介绍)

    在本章中,构建LFS所需要的宿主工具被检查,如果是必需的,则安装。然后LFS系统的宿主分区将被准备。我们将建立分区本身,在其上建立文件系统,并挂载。

    2. Host System Requirements(宿主系统要求)

    你的宿主系统应该有以下指明最低版本的软件。对于绝大多数现代Linux发行版来说,这应该不是一个问题。也要注意很多发行版将软件头放置到独立的包中,通常以 “-devel”或“-dev”的形式。确保安装你的发行版提供的那些软件。

    列出的软件包的更早版本可能工作,但并没有经过测试。

    • Bash-3.2 (/bin/sh should be a symbolic or hard link to bash)

    • Binutils-2.13.1 (Versions greater than 2.39 are not recommended as they have not been tested)

    • Bison-2.7 (/usr/bin/yacc should be a link to bison or small script that executes bison)

    • Coreutils-6.9

    • Diffutils-2.8.1

    • Findutils-4.2.31

    • Gawk-4.0.1 (/usr/bin/awk should be a link to gawk)

    • GCC-4.8 including the C++ compiler, g++ (Versions greater than 12.2.0 are not recommended as they have not been tested). C and C++ standard libraries (with headers) must also be present so the C++ compiler can build hosted programs

    • Grep-2.5.1a

    • Gzip-1.3.12

    • Linux Kernel-3.2

    内核版本有需求的原因是,当在第5章和第8章中编译glic时我们指定那个版本,这个版本是开发者们所推荐的。它也被udev所需要。

    如果宿主内核版本早于3.2,你将需要将内核替换为一个更接近于最新版本的内核。有两个方法。第一,查看你的Linux供应商是否提供3.2或者更新的内核包。如果提供了,则可以安装它。如果你的供应商没有提供一个可接受的内核包,或者你不想安装它,则你可以自己编译一个内核。编译内核和配置bootloader(假设宿主使用GRUB)的指令位于第10章。

    • M4-1.4.10

    • Make-4.0

    • Patch-2.5.4

    • Perl-5.8.8

    • Python-3.4

    • Sed-4.1.5

    • Tar-1.22

    • Texinfo-4.7

    • Xz-5.0.0

    注意:Note that the symlinks mentioned above are required to build an LFS system using the instructions contained within this book. Symlinks that point to other software (such as dash, mawk, etc.) may work, but are not tested or supported by the LFS development team, and may require either deviation from the instructions or additional patches to some packages.

  • 相关阅读:
    RabbitMQ第三个实操小案例——发布者/订阅者(Publish/Subscribe)
    Redis实战 - 02 Redis 保存短信验证码实现用户注册
    记录ElasticSearch分片被锁定导致无法分配处理过程
    leetcode 收集垃圾的最少总时间
    openvino多输入多输出动态尺寸样例记录
    打赏收款收银台多合一支付收款HTML源码
    牛客网刷题训练(一)
    08-React扩展
    JavaScript---使用WebAPI操作页面元素完成与用户的交互
    训练记录day13 (想起来今天还没发博客
  • 原文地址:https://blog.csdn.net/phmatthaus/article/details/126757905
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号