[Dev-C++] Path and name of executable file changed involuntarily.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jimmy L. <jm...@ho...> - 2005-08-19 13:27:27
|
I have a project named "hh" in "E:\MyApp\hh\" with all default settings.
A month ago, it worked well. Now it doesn't work.
When I compile it in Dev-Cpp, it doesn't create executable file "hh.exe"
in the project directory, while a month ago it did. However, it creates
an executable file named ".exe" in "E:\". Because of that, using "Compile
and run" or "debug" in Dev-Cpp always have a message box said "Project is
not compiled".
If I execute
make -f Makefile.win all
in the command line, the result is still "E:\.exe".
If I change
$(CC) $(LINKOBJ) -o "hh.exe" $(LIBS)
in the auto-generated "Makefile.win" to
$(CC) $(LINKOBJ) -o hh.exe $(LIBS)
I have "E:\MyApp\hh\hh.exe", through "make" or Dev-Cpp compilation.
However,
gcc.exe main.o -o "hh.exe"
and
gcc.exe main.o -o hh.exe
both generate "E:\MyApp\hh\hh.exe".
I have uninstalled Dev-Cpp and installed it again. The same thing happens.
My Dev-Cpp version is 4.9.9.0.
I guess there's something to do with the environment variables or Windows
patches, but just guess.
Would anybody help me? Thanks.
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
|