Closed Wuhj9608 closed 6 years ago
o
是什么东西???你设置了编译命令为o
?
这是完整的流程。o
我也不知道是啥...
你的系统的编译器是哪个,路径是什么,通过环境变量设置一下。
echo $CC
echo $CXX
这两个变量现在是什么值
CC="gcc" CXX="g++" scons -Q
直接执行 CC="gcc" CXX="g++" scons -Q
命令吗?结果如图。还是说要在其他地方设置这两个变量?
…………你这个系统有毒吧…………不知道为什么了,编译命令是o
。你编其它东西也会这样么?
不好意思,不熟悉 Linux ,我要怎么测试 “编其他东西” 会不会这样呢?随便写个hello, world
的.c
文件然后用什么命令执行吗?
gcc命令google一下就好了啊,问题是scons也应该有跟make差不多的Makefile吧,看你用的是默认,应该就是你系统有问题而不是操作不当。
我的 hello, world
应该没打错吧?这样应该是系统的问题喽?
你这是什么发行版的linux?抱歉我也没见过
orangepi 修改的 Raspbian server ,/etc/apt/sources.list
里面是 deb http://archive.raspbian.org/raspbian/ jessie main contrib non-free
应该是我的系统的问题,不是sysuh3c
的问题, 多谢楼上二位的指教了。
在网上查了以下,貌似是因为我系统是 arm
平台的原因?(但是树莓派好像也是arm
呀,我之前用树莓派倒是可以编译运行sysuh3c
)
不是硬件的原因,是你的操作系统的配置原因
搞不定这个问题,后来我换了别人推荐的armbian
系统,可以编译运行sysuh3c
了。
我用 git clone https://github.com/zonyitoo/sysuh3c 下载后进入 sysuh3c/src 执行 scons -Q,出现以下报错:
如果需要我提供其他关于硬件和软件的信息的话请说。