楼主 |
    发布时间:2019-10-14 21:51:29  
点击:85次
|
作者:过客
积分:0
|
    如何知道赵烔博士的linux0.11是0.11
在研究linux0.11之前
有一个好像不是问题的问题出现了
linux0.11没错是可以运行了
GCC编译器实验证明是可以用了
但是
怎么知道运行着的系统是0.11呢?
说不定是0.12或者其他
如果用现在的发行版命令
uname -a
cat /proc/version
都没用
0.11根本不支持这些命令
包括其他网上可以找到的其他命令
都不支持
问题出现了
解决了的话在本贴后跟贴
|
|
|
第1楼 |
    发布时间:2019-10-14 21:51:42  
|
作者:过客
积分:0
|
    re回复:如何知道赵烔博士的linux0.11是0.11
不要小看任何一个简单的问题
如果能解决就是简单问题
解决不了就是大问题
|
|
|
第2楼 |
    发布时间:2019-10-14 21:51:57  
|
作者:过客
积分:0
|
    re回复:re回复:如何知道赵烔博士的linux0.11是0.11
想过一个办法
用help |more
查看全部命令
但是发现help里连gcc指令都没有
所以这个办法应该是行不通的
|
|
|
第3楼 |
    发布时间:2019-10-14 21:52:11  
|
作者:过客
积分:0
|
    re回复:re回复:re回复:如何知道赵烔博士的linux0.11是0.11
cd /tmp/
ls -l
vi the first file listed by command "ls -l" under folder /tmp .
Then you can find the version of linux kernel source code.
The file is generated when compile the linux kernel.
Some information shown as below:
diff -r linux/fs/Mkefile linux-0.11.org/fs/Makefile
diff -r linux/fs/exec.c inux-0.11.org/fs/exec.c
diff -r linux/init/main.c linuux-0.11.org/init/main.c
diff -r linux/kernel/system_call.s linux-0.11.org/kernel/system-call.s
|
|
|
第4楼 |
    发布时间:2019-10-14 21:52:11  
|
作者:过客
积分:0
|
    re回复:re回复:re回复:如何知道赵烔博士的linux0.11是0.11
cd /tmp/
ls -l
vi the first file listed by command "ls -l" under folder /tmp .
Then you can find the version of linux kernel source code.
The file is generated when compile the linux kernel.
Some information shown as below:
diff -r linux/fs/Mkefile linux-0.11.org/fs/Makefile
diff -r linux/fs/exec.c inux-0.11.org/fs/exec.c
diff -r linux/init/main.c linuux-0.11.org/init/main.c
diff -r linux/kernel/system_call.s linux-0.11.org/kernel/system-call.s
|
|
|
第5楼 |
    发布时间:2019-10-14 21:54:27  
|
作者:过客
积分:0
|
    re回复:re回复:re回复:re回复:如何知道赵烔博士的linux0.11是0.11
本回复由lcm解决
|
|
|
第6楼 |
    发布时间:2019-10-14 21:54:38  
|
作者:过客
积分:0
|
    re回复:re回复:re回复:re回复:re回复:如何知道赵烔博士的linux0.11是0.11
该办法中文解答:
查看tmp临时文件记录的编译过程
diff 比较两个文件
有不同的地方就重新编译
相同的就跳过
|
|
|
第7楼 |
    发布时间:2019-10-14 21:54:59  
|
作者:过客
积分:0
|
    re回复:re回复:re回复:re回复:re回复:re回复:如何知道赵烔博士的linux0.11是0.11
其实还是希望能给出一个命令就看到版本的指令
|
|
|