Code::Blocks Forums

User forums => Help => Topic started by: Anonymous on February 15, 2005, 01:30:09 am

Title: can't generate exe..
Post by: Anonymous on February 15, 2005, 01:30:09 am
I have two basic projects, one imported from DevC++, the other from scratch. The imported one will compile, and produce an exe, but for some reason, I can't get the 'from scratch' version to produce an exe. Here's my compile output:

Project   : Untitled1
Compiler  : GNU GCC Compiler (using GNU "make")
Directory : D:\CodingStuff\Relo\temp\
--------------------------------------------------------------------------------
rm /f untitled1.exe .objs/jomain.o  
rm: cannot remove `/f': no medium
rm: cannot remove `untitled1.exe': No such file or directory
rm: cannot remove `.objs/jomain.o': No such file or directory
mingw32-make.exe: *** [clean_default] Error 1
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
 
~~~~~~~~end~~~~~~~~~

Can anyone help me?? I did a side by side makefile comparison, and except for the files, they are pretty much the same. the only other diff is a -pg in these lines:

PROJECT_CFLAGS= -pg -g
GLOBAL_LDFLAGS=
PROJECT_LDFLAGS= -pg

...

Can anyone tell me what the -pg is, and or where to set it?? Also, what is 'Profiling' code??
Title: can't generate exe..
Post by: mandrav on February 15, 2005, 08:38:56 am
Go to custom variables and change the value of RM to "rm -f", instead of "rm /f"

Yiannis.