make problem .... [message #90699] |
Sun, 28 December 2003 21:38 |
Eclipse User |
|
|
|
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)
|
|
|
Powered by
FUDForum. Page generated in 0.03572 seconds