sonald / sos

Sian's Operating System
Other
59 stars 14 forks source link

关于文件头部作者及版权的添加 #1

Closed sulit closed 8 years ago

sulit commented 9 years ago

大神,发现你的所有代码都没有文件头部注释,个人感觉还是有必要在每个文件头部添加作者信息,修改时间以及版权,虽然大神你可能不屑于这些,但是万一谁有个什么问题的,也知道向谁求助吧。 (你说对了,我没编译通过,你竟然也用qemu做测试,看来这个确实是好东西)。 你的简历http://sonald.me/Resume/ 的github链接地址不对(中英文都是哦)。

sonald commented 9 years ago
  1. 编译不过是因为我需要一个i686 cross gcc compiler,不过估计一个32bit的linux上可以编译通过。参考这里
  2. qemu比bochs快,而且在mac下更方便使用
  3. 连接哪里不对了?
sonald commented 9 years ago

版权我会加入独立的版权文件的

sulit commented 9 years ago
  1. 32bit的机子上编译通不过的(可能是我的问题),下面是两张图(这么明目张胆的贴图好吗?估计也没人搞我的电脑),我能力不足处,让你见笑了。

    图一:是系统信息及编译器信息 screenshot from 2015-06-11 16 14 59

    图二:是我改你的Makefile screenshot from 2015-06-11 16 15 46

  2. http://sonald.me/Resume 页面的链接http://github.com/sonald 不会链接到你的github的。
sonald commented 9 years ago

@sulit

  1. 试试加入 -Wl,--build-id=none
  2. 那个本来就不是连接到项目的,是连接到网站的
sulit commented 9 years ago
sonald commented 9 years ago

能运行吗?免费帮我做个测试:)。跟苹果没有关系,之前在64bit linux上使用i686 cross compiler也编译过,后来一直没试了

sulit commented 9 years ago
 22     for (int i = 0; i < n; i++) {

图三: screenshot from 2015-06-12 21 29 33

dd if=/dev/zero of=hd.img count=288000
dd if=balder10.img of=hd.img bs=512 count=1 conv=notrunc

图四: screenshot from 2015-06-12 21 33 31

sonald commented 9 years ago

因为user lib是c++的,USER_FLAGS指定了c++11。没用c编译。另外,hd.img我会上传一个,因为目前的内核依赖grub2的multi boot引导。或者自己在linux下安装grub2到hd.img里。

sonald commented 9 years ago

@sulit 这是一个可用的img http://pan.baidu.com/s/1o6uZ1s2

sulit commented 9 years ago
sonald commented 9 years ago

差得东西比较多。网络会很靠后。计划先完成vfs的写部分,tty子系统(包括信号处理),管道支持,然后是基于framebuffer的software renderer,再然后移植一些unix tools。这一下来起码一年半载了。干这个就靠耐心。

sulit commented 9 years ago

这个我需要向你学习。