摘要: 今天在ubuntu下写一个hello的程序,并在openwr-sdk环境中进行编译:1、编译一个helloworld的软件包现在用户目录下创建一个helloworld的目录,在目录想创建helloworld.c和Makefile(这个学怎样写,已经下载教程了,一共73页)命令: mkdir helloworldcd helloworldtouch helloworld.ctouch Makefile使用gedit打开 helloworld.c进行编辑输入下面的内容:#include<stdio.h>#include<unistd.h>int main(void){ pr 阅读全文
posted @ 2012-11-14 17:43 0DENG0 阅读(333) 评论(0) 推荐(0)