查看: 1246|回复: 0

ESPRESSObin开发板C语言运行Hello World程序

[复制链接]
  • TA的每日心情
    奋斗
    2019-10-1 12:54
  • 签到天数: 313 天

    连续签到: 1 天

    [LV.8]以坛为家I

    发表于 2017-8-25 08:59:20 | 显示全部楼层 |阅读模式
    分享到:
    下面介绍在ESPRESSObin开发板上用C语言编写和运行Hello World程序,登陆进终端后输入如下命令安装build-essential
    sudo apt-get install build-essential linux-libc-dev gdb输入如下命令创建一个hello.cvi hello.c写入如下代码#include <stdio.h>main(){printf("Hello, world!\n");return 0;}然后编译hello.cgcc -o hello hello.c运行hello.c./hello
    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /2 下一条

    手机版|小黑屋|与非网

    GMT+8, 2024-4-20 04:48 , Processed in 0.129670 second(s), 18 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.