linux - 如何使用 "make mrproper "命令?我在 Linux From Scratch 上工作

标签 linux bash gcc makefile linux-from-scratch

我正在尝试从头开始构建 Linux,我已经达到了这一部分:linux headers

Make sure there are no stale files and dependencies lying around from previous activity:

make mrproper

我不明白:我应该在哪个目录下运行这个命令?在其中之一?

$LFS/sources/gcc-build
$LFS/sources/gcc-4.4.3

请帮忙!

最佳答案

不,您应该在解压内核源代码 tarball 的目录中运行它(如下所示)。

关于linux - 如何使用 "make mrproper "命令?我在 Linux From Scratch 上工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6395102/

相关文章:

sql - 逐行解析sqlite查询

c++ - 人们会推荐哪些工具来查看 gcc/linux 目标文件?

C: 将 "static const char * const"分配给 "static const char *"

php - 从命令行运行 PHP 脚本作为后台进程

c++ - 如何使用 exec() 在 C++ 和 Linux 中执行命令?

linux - 安装在服务器上的 MongoDB,连接 :0

bash - 实时修改shell stdout

bash - 在 Bash 中合并具有相同字符串的行

c - GCC 不保存/恢复函数调用的保留寄存器

php - 什么是SIGBABY?