编写VxWorks的Hello World程序
2005-03-07 17:44
288 查看
1、 启动Tornado。
2、 建立Downloadable application module,按照自己的意愿设置路径、工程名和工作空间。本例中工作空间和工程均为HelloWorld。
3、 选择File|New建立test.c文件并加入到工程。
4、 在test.c中输入如下代码:
#include <stdio.h>
int first_test(void)
{
printf("hello world!\n");
}
5、 选择Build|Build创建HelloWorld.out。
6、 选择Tools|Simulator启动仿真器。
7、 在Files窗口中右击HelloWorld Files,从菜单中选择Download HelloWorld.out。
8、 选择Tools|Shell或点击工具条上的Launch Shell按钮,启动Shell。
9、 在Shell窗口中输入first_test,就可以看到Hello word输出了。
2、 建立Downloadable application module,按照自己的意愿设置路径、工程名和工作空间。本例中工作空间和工程均为HelloWorld。
3、 选择File|New建立test.c文件并加入到工程。
4、 在test.c中输入如下代码:
#include <stdio.h>
int first_test(void)
{
printf("hello world!\n");
}
5、 选择Build|Build创建HelloWorld.out。
6、 选择Tools|Simulator启动仿真器。
7、 在Files窗口中右击HelloWorld Files,从菜单中选择Download HelloWorld.out。
8、 选择Tools|Shell或点击工具条上的Launch Shell按钮,启动Shell。
9、 在Shell窗口中输入first_test,就可以看到Hello word输出了。
相关文章推荐
- linux下使用汇编语言编写hello world!程序
- 用Python编写hello world程序
- 使用UDP协议编写一个网络程序,设置接收端程序监听端口为8001,发送端发送的数据是“hello world”
- 你用过几种语言:39种语言编写的Hello World程序
- 一、Qt Creator的安装和hello world程序的编写
- 搭建wobwork框架环境,并用编写hello world程序
- 编写一个简单的内核模块程序Hello World!
- ROS Learning-013 beginner_Tutorials (编程) 编写ROS服务版的Hello World程序(Python版)
- 使用C#编写17种Hello World程序
- 作业5.在不同平台上编写hello world程序_064121陶源
- 黑马程序员—Java语言基础(人机交互方式、Java语言介绍、环境变量配置、Hello World程序编写)
- 编写FireFox的Extension Hello World程序小结
- 用Free Pascal IDE编写第一个程序Pascal版的hello world
- CentOS6.4(linux)下编写C程序(hello world)步骤及注意事项
- ROS Learning-011 beginner_Tutorials (编程) 编写 ROS 话题版的 Hello World 程序(Python版)
- Invaild Module Format linux中hello world 程序编写
- 用Python编写运行Hello World程序
- 一、Qt Creator的安装和hello world程序的编写
- ROS Learning-011 beginner_Tutorials (编程) 编写 ROS 话题版的 Hello World 程序(Python版)
- C# 使用17方法编写Hello World程序(语法深度)