Groups
Groups
Sign in
Groups
Groups
xv6-jos
Conversations
About
Send feedback
Help
最近在看linux-0.11
24 views
Skip to first unread message
Chunis Deng
unread,
Apr 26, 2012, 11:09:52 PM
4/26/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xv6...@googlegroups.com
linux-0.11代码太古老了,修改起来真是费劲;勉强编译通过了,还是运行不起来
最后发现原因是当年生成的tools/system为a.out格式,可以直接由tools/build拼接得到Image。
而现在gcc产生的system是elf格式,直接拼接已经不行了。
google后得知可以用objcopy转换elf为a.out格式,后来发现下载这个可以顺利编译兼运行之:
http://www.oldlinux.org/oldlinux/viewthread.php?tid=13681&extra=page%3D1
有兴趣慢慢修改源码和调试的同学可以参考这个:
http://blog.chinaunix.net/uid-23917107-id-3173253.html
Reply all
Reply to author
Forward
0 new messages