|Bug with Replace native environment with specified one [message #1095064]
||Mon, 26 August 2013 11:16
| Fal kor
Registered: August 2013
I'm using Windows 7, eclipse Kepler Release Build id: 20130614-0229,
Because I have many gcc compilers on my machine and in the windows PATH variable, I want to use the C/C++ Build -> Environment -> Replace native environment with specified one to specify the PATH variable during compilation time with only the needed compilers paths.
However when I enable this option, the compilation hangs with following error:
arm-none-eabi-g++ -DDEBUG=1 -DGNUARM_COMPILER -I"D:\XXXXXX" -O0 -ffunction-sections -fdata-sections -Wall -Wa,-adhlns="xxxxx.o.lst" -fno-exceptions -fno-rtti -c -fmessage-length=0 -fomit-frame-pointer -MMD -MP -MF"xxxx.d" -MT"xxx.d" -mcpu=cortex-m3 -mthumb -g3 -gdwarf-2 -o "xxxx.o" "xxxxx.cpp"
'Finished building: xxxxx/xxxxx.cpp'
'Building file: D:yyyyyyy.cpp'
cs-make: *** Accès refusé.
cs-make: *** Waiting for unfinished jobs....
Also the "Build project" window is stuck in "Invoking Command: cs-make clean".
The only way to stop this is to open task manager and kill eclipse.
I found a way to fix it : run eclipse as administrator. Then it compiles with no problem. But hey! ain't that an awful fix?
Do you have any idea of what's happening? it is so painful to run eclipse as administrator.
Powered by FUDForum
. Page generated in 0.01550 seconds