cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F40G_eval+linux+eclipse+code sourcey

dorrachendoul
Associate II
Posted on April 12, 2013 at 11:41

Hi,

Am programming my stm32 using eclipse on linux, i configured link resources and i added path, but am having this error:

Program ''arm-none-eabi-gcc'' not found in PATH 

I don' know why i have this error because i think that i' ve added :

- path in properties -> environnement and in discovery otions.

isn't it enough.

Can someone pease help me.

  

10 REPLIES 10
Posted on April 12, 2013 at 15:45

If you open a console can you run it from the command line?

Is it installed properly?

What's in your PATH environment variable?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
dorrachendoul
Associate II
Posted on April 12, 2013 at 16:27

the path is :

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/user /CodeSourcery/Sourcery_G++_Lite/bin;${PATH}

Any help please?

jean-michel-62
Associate
Posted on April 12, 2013 at 23:26

Hi,

Is there a space between ''user'' and ''/Codesourcery'' ?

Or is it a typo only in the message ?

dorrachendoul
Associate II
Posted on April 15, 2013 at 09:55

Hi,

No, there is no space

crt2
Associate II
Posted on April 15, 2013 at 11:08

In Ubuntu in bashrc file you add the line - that will solve your problem:

export PATH=''$PATH'':~/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/

frankmeyer9
Associate II
Posted on April 15, 2013 at 11:10

There are ways to add paths permanenty (i.e. by some scripts invoked at startup), but this depends on the Linux distribution. Just use a search engine and the right key words.

The disadvantage of this method - you can have just one of this toolchains who name their binaries arm-none-eabi-xxx, because it whould overshadow all others. Configuring your IDE would be the better way.

dorrachendoul
Associate II
Posted on April 15, 2013 at 11:18

I added the line but i still have this error :

Program ''arm-none-eabi-gcc'' not found in PATH  

dorrachendoul
Associate II
Posted on April 15, 2013 at 11:23

I ve already configured it .

in Arm sourcery Linus GCC Assembler i ve browsed  :/home/dorra/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-eabi-as

and in Arm sourcery Linus GCC C compiler i ve browsed: /home/dorra/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-eabi-gcc

jean-michel-62
Associate
Posted on May 03, 2013 at 20:53

Sorry for replying so late, but could you try the commands :

arm-none-eabi-gcc -v

and,

which arm-none-eabi-gcc

in a terminal ?

If the first one if sucessfull,it means the compiler is available to the system; and in such a case, the second command will tell you where's the compiler file.

I also recommend you to keep automatic discovery of the toolchain ...

Hope this helps !