gcc error after compiling

Discussions and support about ChibiStudio, the free development environment for ARM.
Post Reply
unseenlaser
Posts: 7
Joined: Thu Sep 10, 2015 6:12 pm

gcc error after compiling

Post by unseenlaser »

Hi All
firstly thanks for the time in putting Chibistudio together and the examples , as a new user to both Arm and ST and ChibiOS
everything is a whirl . anyhow on to my problem .

i am building the demo from playembedded
RT-STM32F401RE-NUCLEO-IR_remote_reverse
i am also using workspace 30
this builds fine . but
in the problems tab i get
Program "gcc" not found in path , and i find this with all demo projects in chilbistudio
so i suspect i have missed something

any englightenment is appricated for a newbie
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: gcc error after compiling

Post by Giovanni »

Hi,

Launch ChibiStudio using the provided shortcut, you may copy it on the desktop, if you launch Eclipse directly then the paths are not set.

Giovanni
unseenlaser
Posts: 7
Joined: Thu Sep 10, 2015 6:12 pm

Re: gcc error after compiling

Post by unseenlaser »

i have used the start2.batch file ( modified the shortcut from start.bat to start2.bat)

this i have tried from a complete new install (win10) no changes made at all
using start2.bat ^ changing to workspace30 etc
even just starting the demo RT-STM32F401RE-NUCLEO HAS THE SAME EFFECT

attached screenshot showing error

thanks again for the assistance
Attachments
screenshot
screenshot
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: gcc error after compiling

Post by Giovanni »

The tool should be placed in C:\ChibiStudio, is this your case?

Giovanni
unseenlaser
Posts: 7
Joined: Thu Sep 10, 2015 6:12 pm

Re: gcc error after compiling

Post by unseenlaser »

my path is c:\chibistudio\tools\

nothing has changed from a default install

set PATH=C:\ChibiStudio\tools\gnutools\bin;%PATH%
set PATH=C:\ChibiStudio\tools\openocd\bin;%PATH%
set PATH=C:\ChibiStudio\tools\GNU Tools ARM Embedded\4.9 2015q2\arm-none-eabi\bin;%PATH%
set PATH=C:\ChibiStudio\tools\GNU Tools ARM Embedded\4.9 2015q2\bin;%PATH%
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: gcc error after compiling

Post by Giovanni »

For some reason it does not find gcc.exe which should be present in the paths specified in the batch file. It either does not take the paths or gcc.exe is missing for some reason.

Giovanni
unseenlaser
Posts: 7
Joined: Thu Sep 10, 2015 6:12 pm

Re: gcc error after compiling

Post by unseenlaser »

gcc.exe is missing from archive ChibiStudio_preview12.7.7z

in 4.9.2015q2\arm-none-eabi\bin

it is present in 4.7.2014q2
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: gcc error after compiling

Post by Giovanni »

Confirmed, you can take it from 4.7 and put it into 4.9, that executable is only used for macros discovery.

Giovanni
Post Reply