Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

交叉编译的文件不能运行 #45

Closed
rwzsycwan opened this issue Apr 2, 2020 · 7 comments
Closed

交叉编译的文件不能运行 #45

rwzsycwan opened this issue Apr 2, 2020 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@rwzsycwan
Copy link

我用entware的toolchain交叉编译出来的文件,在K3上不能运行,提示 -sh: ./chinadns-ng: not found 。编译过程中没有报错。

@zfl9
Copy link
Owner

zfl9 commented Apr 3, 2020

make clean && make CC=/path/to/xxx-gcc

@zfl9
Copy link
Owner

zfl9 commented Apr 3, 2020

如果还不行就是你的工具链与目标主机不对应。

@zfl9 zfl9 added the documentation Improvements or additions to documentation label Apr 3, 2020
@zfl9 zfl9 closed this as completed Apr 3, 2020
@rwzsycwan
Copy link
Author

最终在entware下安装了make和gcc编译出来能运行了

@ilpl
Copy link

ilpl commented Apr 4, 2020

最终在entware下安装了make和gcc编译出来能运行了

你好~ 能把编译好的chinadns-ng 发我一份吗? 我也是K3, Email: hi.pinglin[a]gmail.com,

@rwzsycwan
Copy link
Author

最终在entware下安装了make和gcc编译出来能运行了

你好~ 能把编译好的chinadns-ng 发我一份吗? 我也是K3, Email: hi.pinglin[a]gmail.com,

发你了

@brainos233
Copy link

最终在entware下安装了make和gcc编译出来能运行了

我也遇到了这个问题,可否详细请教一下怎么做

@elxy
Copy link

elxy commented Jan 19, 2021

参考这里:https://github.com/Entware/Entware/wiki/Using-GCC-for-native-compilation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants