GCC出现 "cannot execute binary file"
今天开始搞搞Linux 开发 用Gcc -c test.c -o test 感觉挺标准的先是出现一句./test: Permission denied 没权限 加个权限去然后 使用 chmod +x test再次执行结果./test: cannot execute binary file纳闷了 百度结果是 gcc 如果加参数 -c 是只编译 不连接 去掉后就好了 ...
原创
2015-09-05 11:41:33 ·
2527 阅读 ·
0 评论