austgl / writeos

Automatically exported from code.google.com/p/writeos
0 stars 0 forks source link

链接脚本和makefile中的一些小问题 #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
链接脚本中:
SECTIONS
{
  . = 0x7c00;
  .text :
  {
    boot.o(.text)     /* Program will be loaded to 0x7c00. */
  } = 0
}
改成这样会更清晰些;

Makefile文件中:
生成.o文件不要用gcc -c形式,最好用as,否则会产生警告

Original issue reported on code.google.com by l...@sise.com.cn on 14 Sep 2008 at 2:34