Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » make all says C:\Program: No such file or directory(Path problem in Windows 7)
make all says C:\Program: No such file or directory [message #790086] Fri, 03 February 2012 19:59 Go to next message
Nils Soderman is currently offline Nils SodermanFriend
Messages: 2
Registered: February 2012
Junior Member
Hi, I have 5 years experience with Eclipse on XP. I am now trying to run a 64-bit Eclipse on Windows 7. When trying "make all" I get the error message:

C:\Program: C:\Program: No such file or directory
make: *** [RFID.o] Error 127

I have been trying to find any erroneous path, no success. The project ran w/o problems on XP-platform.
One path in the makefile looks like this:
EXTRA_LIBDIRS = C:/Program (x86)/yagarto/lib/gcc/arm-none-eabi/4.6.2/
Is that the correct format for Windows 7?
I also tried with:
EXTRA_LIBDIRS = C:/Program Files/yagarto/lib/gcc/arm-none-eabi/4.6.2/
and
EXTRA_LIBDIRS = C:/Program/yagarto/lib/gcc/arm-none-eabi/4.6.2/


It (Windows 7!) seems to use "Program Files"
as synonym for Program (x86) sometimes! VERY confusing!
Please give me a tip how to continue!
Nils in COLD Uppsala
  • Attachment: makefile
    (Size: 5.80KB, Downloaded 223 times)
Re: make all says C:\Program: No such file or directory [message #790094 is a reply to message #790086] Fri, 03 February 2012 20:12 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 02/03/2012 01:59 PM, Nils Soderman wrote:
> Hi, I have 5 years experience with Eclipse on XP. I am now trying to run a 64-bit Eclipse on Windows 7. When trying "make all" I get the error message:
>
> C:\Program: C:\Program: No such file or directory
> make: *** [RFID.o] Error 127
>
> I have been trying to find any erroneous path, no success. The project ran w/o problems on XP-platform.
> One path in the makefile looks like this:
> EXTRA_LIBDIRS = C:/Program (x86)/yagarto/lib/gcc/arm-none-eabi/4.6.2/

The space in Program Files may be causing the problem. The make utility
is trying to run C:\Program which isn't valid.

Try placing "" around the path in the make file.

> Is that the correct format for Windows 7?
> I also tried with:
> EXTRA_LIBDIRS = C:/Program Files/yagarto/lib/gcc/arm-none-eabi/4.6.2/
> and
> EXTRA_LIBDIRS = C:/Program/yagarto/lib/gcc/arm-none-eabi/4.6.2/
>
>
> It (Windows 7!) seems to use "Program Files"
> as synonym for Program (x86) sometimes! VERY confusing!
> Please give me a tip how to continue!
> Nils in COLD Uppsala
Re: make all says C:\Program: No such file or directory [message #790440 is a reply to message #790094] Sat, 04 February 2012 08:37 Go to previous message
Nils Soderman is currently offline Nils SodermanFriend
Messages: 2
Registered: February 2012
Junior Member
Thank you David!
I tried with EXTRA_LIBDIRS = "C:/Program (x86)/yagarto/lib/gcc/arm-none-eabi/4.6.2/"
as well as all other path's in the make file. Same error message:

> C:\Program: C:\Program: No such file or directory
> make: *** [RFID.o] Error 127

So must I write "C:/Program (x86)/..." etc. OR "C:/Program Files/..." in Windows7 makefiles I wonder?

I have also tried to find the meaning of "Error 127" in make documentation.
I will keep on looking for this...
I dearly looking forward to any reply!
Nils in a still colder Uppsala
Previous Topic:Version control in indigo
Next Topic:Problems C++ Mac OS X
Goto Forum:
  


Current Time: Fri Apr 26 09:49:25 GMT 2024

Powered by FUDForum. Page generated in 0.03460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top