-
Notifications
You must be signed in to change notification settings - Fork 180
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
Can't compile for arm host #68
Comments
|
Nope, did not help, still having:
|
Same error if trying with |
Dont think this is related to #1188, do a google search on "checking for the value of EOF", I think you have some directories mixed up. |
@nolange i did googled before obviously, but unfortunately at the moment i don't have enough understanding on what's wrong and how to fix it. Will continue, any advice is appreciated |
hmm, |
this is from "/opt/Espressif/crosstool-NG-android/.build/xtensa-lx106-elf/build/build-cc-final-build-x86_64-build_unknown-linux-gnu/xtensa-lx106-elf/libstdc++-v3/config.log" due to missing header:
|
I've pushed a branch xtensa-1.24.x with a defconfig aarch64-linux-gnu,xtensa-lx106-elf that I used to build a static toolchain for aarch64-linux host, xtensa-lx106-elf target. Please give it a try. It may need more configuration tweaks to match the toolchain built by the esp-open-sdk as I did the simplest config possible from the top of my head just to see if it builds. |
Hi, @jcmvbkbc. Thanks for looking into it! I had to change host to "aarch64-linux-android" to use it with standalone toolchain from Android NDK 21b (received it using "./build/tools/make_standalone_toolchain.py --arch arm64 --api 21 --install-dir /home/anton/x-tools/arm64-ndk"). Eventually i get the following:
What toolchain should be used for "aarch64-linux-gnu"? I've tried "./ct-ng aarch64-linux-gnu" but it was not found. Am i missing anything else? |
Worked for me if compiling with toolchain from the following ubuntu packages (NOT from NDK):
|
assume using the following:
--arch arm --api 21 --install-dir ~/x-tools/arm-ndk-21
and~/x-tools/arm-ndk-21/bin
is added toPATH
.~/x-tools/xtensa-lx106-elf
and~/x-tools/xtensa-lx106-elf/bin
is added to PATHcreated "arm-ndk,xtensa-lx106-elf" sample:
and created configuration from it:
and manually edited
.configuration
to have the versions above (it seems ./ct-ng overwrote them to default)It results into the following:
The text was updated successfully, but these errors were encountered: