nexus-am/apps
Yanyan Jiang 5e587957b4 reduce canvas to 1/4 size 2017-04-24 10:31:56 -04:00
..
hello update documents 2017-04-21 01:38:19 +08:00
litenes reduce canvas to 1/4 size 2017-04-24 10:31:56 -04:00
microbench add docs 2017-04-22 13:11:33 +08:00
nanos cleanup 2017-04-19 23:41:07 +08:00
nemu cleanup 2017-04-19 23:41:07 +08:00
typing fix name(time) 2017-04-23 19:23:26 +08:00
video add typing on x86 2017-04-22 05:14:13 +08:00
README.md update documents 2017-04-21 01:38:19 +08:00

README.md

AM Applications

在单独的分支开发每个app成熟后合并到主分支。

大项目可以考虑使用submodule。

App目录组织

apps/里建立app名称的子目录例如hello

包含两个目录:

  • apps/hello/include:头文件,将会被加入到-I选项中。
  • apps/hello/src:源代码文件。所有源代码文件会被归档到build/hello-arch.a

编译App

在最外层make [play] ARCH=体系结构 APP=hello可以编译hello。play参数会在编译完成后运行app。

如果上一次编译的体系结构不同,需要先执行make clean