dde-api 如何编译出arm版本
Tofloor
poster avatar
yuxue
deepin
2019-06-25 02:29
Author
想把最新的版本 dde-api 编译到arm 下面 做成deb 包
直接在qmenu 下编译 由于是虚拟环境问题 编译不了,不知道如何x86 下编译出arm 的 deb 版本
或者通过其他什么办法
现在正在尝试使用真实的arm 板子编译 可想而知那速度 肯定编译是非常的慢
Reply Favorite View the author
All Replies
avatar
许自强
deepin
2019-06-25 18:24
#1
直接改环境变量
  1. export GOARCH=arm
Copy the Code
,这样可以么?反正纯GO代码是可以的
Reply View the author
avatar
yuxue
deepin
2019-06-26 05:27
#2
https://bbs.deepin.org/post/179795
直接改环境变量,这样可以么?反正纯GO代码是可以的

这样编译一个程序没问题 如果依赖了其他库就没办法了
Reply View the author
avatar
sdfdlyl
deepin
2019-06-26 05:38
#3
好像有华为海思服务器版,是ARM的
Reply View the author
avatar
许自强
deepin
2019-06-26 19:33
#4
https://bbs.deepin.org/post/179795
这样编译一个程序没问题 如果依赖了其他库就没办法了

既然这样的话,用arm板子来编译试试吧。(像beego这个东西我在arm上就编译不过,还是得在x86上进行交叉编译)
Reply View the author
avatar
superendermansm
deepin
2019-07-02 06:30
#5
用Linux deploy在手机上编译打包
Reply View the author
avatar
yuxue
deepin
2019-07-02 06:42
#6
https://bbs.deepin.org/post/179795
用Linux deploy在手机上编译打包

谢谢,弄了一个华为arm服务器 下  使用 qemu 编译 就没发现崩溃的现象了,正在一点一点编译
Reply View the author