您尚未登录。

楼主 # 2021-11-21 20:38:32

资本家大善人
会员
注册时间: 2021-03-26
已发帖子: 188
积分: 143.5

荔枝派nano/全志F1C100S/F1C200S无法运行armgcc编译出的程序

问题:
荔枝派nano/全志F1C100S/F1C200S无法运行官方交叉编译工具编译出的可执行程序

解决:

sudo apt-get install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
arm-linux-gnueabi-gcc Framebuffer.c -o Framebuffer

结果:

root@ubuntu-VirtualBox:/# rz
root@ubuntu-VirtualBox:/# chmod 777 Framebuffer 
root@ubuntu-VirtualBox:/# ./Framebuffer 
The mem is :1536000
The line_length is :3200
The xres is :800
The yres is :480
bits_per_pixel is :32
root@ubuntu-VirtualBox:/# 

wk113.png

离线

#1 2021-11-22 10:44:23

Fomalhaut
会员
注册时间: 2021-10-28
已发帖子: 36
积分: 31

Re: 荔枝派nano/全志F1C100S/F1C200S无法运行armgcc编译出的程序

这不是能运行吗?

离线

楼主 #2 2021-11-22 15:26:10

资本家大善人
会员
注册时间: 2021-03-26
已发帖子: 188
积分: 143.5

Re: 荔枝派nano/全志F1C100S/F1C200S无法运行armgcc编译出的程序

Fomalhaut 说:

这不是能运行吗?

官方的那个不能

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn