Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » make problem ....
make problem .... [message #90699] Sun, 28 December 2003 21:38
Eclipse UserFriend
Originally posted by: syseng_mangesh.lycos.com

Hi!

Platform details:
Windows 2000 SP4
Eclipse 2.1.2
cdt version 1.2

Problem:
make * CreateProcess((null), cc main.o -o main, ...) failed. The system
cannot find the file specified.


This is the error that i get when i try to build the project. It a simple
Helloworld program as shown below.
I select the Standard Make option during project creation. Another
important point is that I can run mingw32-make -f makefile from the
command line without any errors.

Hope you can help me

Thanks in Advance....

Mangesh




file = main.c

#include <stdio.h>

int main() {
int i=0;

for(i=0; i< 5; i++)
printf("HELLO WORLD \n");

getch();
exit(0);

}

file = makefile

objects = main.o

hello : $(objects)
gcc -o main.exe $(objects)

$(objects) : main.c
gcc -ggdb -c main.c

all :
${MAKE} main

PHONY : clean
clean :
-del main.exe $(objects)
Previous Topic:How to get CDT 2.0 M5 run on Linux
Next Topic:Compiler errors are not complete
Goto Forum:
  


Current Time: Sat Oct 19 18:06:22 GMT 2024

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

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

Back to the top