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
frankmeyer9
Associate II
Posted on May 04, 2013 at 13:23

Try this:

In a terminal, execute:

PATH=$PATH:/home/dorra/CodeSourcery/Sourcery_G++_Lite/bin

export PATH Then start your IDE (eclipse) from the very same terminal. If that works, you can either: - add this path to the PATH variable permanently; How and where this could be done depends on your linux distribution and the default shell. Try google. - always start eclipse from a shell; Instead of starting eclipse directly, start it from a small shell script. For convenience, you can enter this script in the command property of the menu, instead of ''/usr/bin/eclipse''. The shell script could look like this (I'm using bash here ...)

#! /bin/bash
PATH=$PATH:/home/dorra/CodeSourcery/Sourcery_G++_Lite/bin
export PATH
/usr/bin/eclipse