This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

/bin/sh: 1: aarch64-elf-gcc.exe: not found

The issue:

I cannot build my project because o get this error message:

/bin/sh: 1: aarch64-elf-gcc.exe: not found

In window - preferences - Arm DS -Toolchain:

I have added GCC 8.3.0 [aarch64-elf] toolchain that I downloaded from the official website: gcc-arm-8.3-2019.03-x86_64-aarch64-elf

When I open the project properties, in the C/C++ Build-Tool Chain Editor the current toolchain is GCC 8.3.0 [aarch64-elf], I also see a list of used tools:

GCC C Compiler 8.3.0 [aarch64-elf]
GCC C++ Compiler 8.3.0 [aarch64-elf]
GCC Assembler 8.3.0 [aarch64-elf]
GCC C Linker 8.3.0 [aarch64-elf]
GCC C++ Linker 8.3.0 [aarch64-elf]

As you can see, it has the compiler there. I dont understand how else would iI provide the compiler so it would be seen by ARM Ds.

Seems like arm ds does not see the .exe file, or it just simply is not there. Could you please help me figure it out?

Parents
  • Just to give you more of the context of the error:

    The compiler is invoked, and after that the file is finished building. Then the Assembler was invoked and after that I get that .exe wasnt found.



    Invoking: GCC C Compiler 8.3.0 [aarch64-elf]
    aarch64-elf-gcc -mcpu=cortex-a53 -DSTANDALONE -DENABLE_ARM_FP -I"/home/mariag/developmentstudio-workspace/ECworkspace/tx/Common/inc" -I"/home/mariag/developmentstudio-workspace/ECworkspace/tx/A53/inc" -O0 -g -Wall -MMD -MP -MF"Common/src/txe_timer_info_get.d" -MT"Common/src/txe_timer_info_get.o" -c -o "Common/src/txe_timer_info_get.o" "../Common/src/txe_timer_info_get.c"
    Invoking: GCC Assembler 8.3.0 [aarch64-elf]

    aarch64-elf-gcc.exe -mcpu=cortex-a53 -DEL1 -g -c -o "A53/src/tx_initialize_low_level.o" "../A53/src/tx_initialize_low_level.S"
    Building file: ../A53/src/tx_thread_context_restore.S
    Finished building: ../Common/src/txe_thread_entry_exit_notify.c
    /bin/sh: 1: aarch64-elf-gcc.exe: not found
    Building file: ../A53/src/tx_thread_context_save.S
    Finished building: ../Common/src/txe_thread_priority_change.c
    make: *** [A53/src/subdir.mk:44: A53/src/tx_initialize_low_level.o] Error 127

Reply
  • Just to give you more of the context of the error:

    The compiler is invoked, and after that the file is finished building. Then the Assembler was invoked and after that I get that .exe wasnt found.



    Invoking: GCC C Compiler 8.3.0 [aarch64-elf]
    aarch64-elf-gcc -mcpu=cortex-a53 -DSTANDALONE -DENABLE_ARM_FP -I"/home/mariag/developmentstudio-workspace/ECworkspace/tx/Common/inc" -I"/home/mariag/developmentstudio-workspace/ECworkspace/tx/A53/inc" -O0 -g -Wall -MMD -MP -MF"Common/src/txe_timer_info_get.d" -MT"Common/src/txe_timer_info_get.o" -c -o "Common/src/txe_timer_info_get.o" "../Common/src/txe_timer_info_get.c"
    Invoking: GCC Assembler 8.3.0 [aarch64-elf]

    aarch64-elf-gcc.exe -mcpu=cortex-a53 -DEL1 -g -c -o "A53/src/tx_initialize_low_level.o" "../A53/src/tx_initialize_low_level.S"
    Building file: ../A53/src/tx_thread_context_restore.S
    Finished building: ../Common/src/txe_thread_entry_exit_notify.c
    /bin/sh: 1: aarch64-elf-gcc.exe: not found
    Building file: ../A53/src/tx_thread_context_save.S
    Finished building: ../Common/src/txe_thread_priority_change.c
    make: *** [A53/src/subdir.mk:44: A53/src/tx_initialize_low_level.o] Error 127

Children