-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
cross compile filed , cross toolchain not found! #902
Comments
对于当前版本,还是需要指定下 --sdk= 交叉编译工具链根目录的 $ xmake f --cross=aarch64-linux-gnu- --sdk=/usr -c 我刚稍微改进了下,对于 $ xmake update master
$ xmake f --cross=aarch64-linux-gnu- -c |
[ 86%]: ccache compiling.release src/demo/platform/poller_server.c 这块如果需要用c++编译器 估计要手动指定 吧? |
error: aarch64-linux-gnu-gcc: error trying to exec 'cc1plus': execvp: No such file or directory 你没装g++, |
没啥问题 我这里先close了 。。我这边测试已经完全可以了的。 |
没问题,解决了 |
OS:Ubuntu 18.04
xmake version: xmake v2.3.5+202007280802,
cross toolchain: /usr/bin/aarch64-linux-gnu-gcc
$ aarch64-linux-gnu-gcc --version
aarch64-linux-gnu-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
project tbox:
xxx @ xxx-desktop in ~/workspace/github/tbox on git:master o [8:09:13] C:130
$ xmake f -p linux --cross=aarch64-linux-gnu-
checking for the architecture ... x86_64
error: cross toolchain not found!
The text was updated successfully, but these errors were encountered: