Topic : Examples build failed

Forum : ARM

Original Post
Post Information Post
March 2, 2009 - 7:44am
Guest

IDE: Ride7 IDE 7.16.0000 + RKit-ARM for Ride7 1.16.0930
EXAMPLE: E:\Program Files\Raisonance\Ride\Examples\ARM\test\testR7.rprj

----------------Build Started: 'testR7' in configuration ''--------------------------

Building E:\Program Files\Raisonance\Ride\Examples\ARM\test\main.c
Running: GCC
\"E:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STM32F103RBT6_ -D_STM3x_ -D_STM32x_ -mthumb -mcpu=cortex-m3 "E:\Program Files\Raisonance\Ride\Examples\ARM\test\main.c" -o "E:\Program Files\Raisonance\Ride\Examples\ARM\test\main.o" -I "." -I "E:\Program Files\Raisonance\Ride\Lib\ARM\include" -c -fsigned-char -g -O1 -ffunction-sections -mlong-calls -mlittle-endian
arm-none-eabi-gcc.exe: CreateProcess: No such file or directory

Build failed

Replies
Post Information Post
+1
0
-1
March 2, 2009 - 10:17am
Raisonance Support Team

Hi,

Ride uses the PATH variable to access to GCC. You probably just need to reboot your PC after installing Ride and it should be fine. If not, please check that your PATH variable contains the path to gcc. It should have been added by the Ride installer, but maybe it did not have admin rights or something.

The other source for this error is conflict between several GCC toolchains.
Please check that you don't have a "GCC_EXEC_PREFIX" enironment variable. This is a deprecated mechanism that some old GCC toolchains used, and it can generate errors if several gcc toolchains are installed on the same PC.

Best Regards,

Vincent

+1
0
-1
March 2, 2009 - 11:47am
Guest

PATH=C:\Raisonance\Ride\Bin;C:\Raisonance\Ride\arm-gcc\bin

I don't have a "GCC_EXEC_PREFIX" enironment variable

----------------Build Started: 'testR7' in configuration ''--------------------------

Building C:\Raisonance\Ride\Examples\ARM\test\main.c
Running: GCC
\"C:\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STM32F103RBT6_ -D_STM3x_ -D_STM32x_ -mthumb -mcpu=cortex-m3 "C:\Raisonance\Ride\Examples\ARM\test\main.c" -o "C:\Raisonance\Ride\Examples\ARM\test\main.o" -I "." -I "C:\Raisonance\Ride\Lib\ARM\include" -c -fsigned-char -g -O1 -ffunction-sections -mlong-calls -mlittle-endian
arm-none-eabi-gcc.exe: CreateProcess: No such file or directory

Build failed

+1
0
-1
March 2, 2009 - 11:57am
Raisonance Support Team

Hi,

Which version of Windows (and service packs) are you using?
Are you administrator?
Are you using the same user account that was used to install Ride?

Can you please check that the gcc file ("C:\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe") has been correctly installed on your drive?

If it does, please open a command prompt, change directory to "C:\Raisonance\Ride\Examples\ARM\test", and execute "arm-none-eabi-gcc.exe". It should tell you "no input file". Then, please try to execute the complete command line from Ride that you quoted.

Tell me how it goes and I will have a better understanding of the problem.

Best Regards,

Vincent

+1
0
-1
March 2, 2009 - 1:22pm
Guest

Windows XP SP2
I am administrator

C:\Raisonance\Ride\Examples\ARM\test>arm-none-eabi-gcc.exe
arm-none-eabi-gcc.exe: no input files

When I try to execute the complete command line from Ride

arm-none-eabi-gcc.exe: CreateProcess: No such file or directory

When I try to execute simple file

void main(void)
{
return;
}

arm-none-eabi-gcc.exe: CreateProcess: No such file or directory

+1
0
-1
March 2, 2009 - 1:49pm
Raisonance Support Team

Hi,

gcc is found, but the problem is that gcc doesn't manage to call one of its subprograms. (preprocessor, compiler, assembler, ...)
That can be due to an installation problem (some file not copied) or a conflict with another program with the same name and the path appearing before gcc's.

Please run the complete command line again, but add option "-E". This will tell gcc to stop after the preprocessing.
If it succeeds, then that means that the preprocessor if found.
Then, try again with option "-S". (instead of "-E") This tells GCC to preprocess and compile but not assemble. If that succeeds, it means gcc finds the preprocessor and the compiler.

Best Regards,

Vincent

+1
0
-1
March 2, 2009 - 7:31pm
Guest

Hi,

Result is the same.
There's a reason in dual OS's.
I have Windows-98 (FAT32) and Windows-XP (NTFS) as dual boot in my system.

Best regards,
Boris