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

Problem using GNU toolchain(CodeSourcery) in Keil

Hi everybody
I'm trying to use 'Sourcery CodeBench Lite for ARM EABI' to assemble my ARM assembly files in Keil.
I have changed my project tool chain configuration for Keil(in Components Environment And Books), and when I use Keil 4.1 everything works well.
But I have a problem when I use Keil 4.6-4.7 for assembling files. Keil will not be able to find GNU assemble of CodeBench(with same setting that works in Keil 4.1) and generates following error:
Error: failed to execute 'arm-none-eabi-as'
Any idea why does this error happen?

Regards

Parents
  • Dear Martin,

    I noticed what the problem was. When I was specifying GNU-Tool Folder, I was used a path to bin folder like this:
    C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin\
    Because executable files are located in this folder. But after your reply, I noticed that I should specify root folder like this:
    C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\

    Thanks a lot for help, this solved my problem. :)

    Regards

Reply
  • Dear Martin,

    I noticed what the problem was. When I was specifying GNU-Tool Folder, I was used a path to bin folder like this:
    C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin\
    Because executable files are located in this folder. But after your reply, I noticed that I should specify root folder like this:
    C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\

    Thanks a lot for help, this solved my problem. :)

    Regards

Children
No data