From: Robert M D. <bob...@us...> - 2003-08-18 14:15:13
|
I'm not sure. Is "rm" part of the MinGW distribution? In my previous installation of MinGW, I only included "c:\MinGW\bin" in the PATH variable. ****************************************************************************** Bob Dorazio United States Geological Survey 7920 NW 71 Street Gainesville, Florida 32653 Phone: (352) 378-8181 x373 Fax: (352) 378-4956 Email: bdo...@us... Internet: http://cars.er.usgs.gov |---------+---------------------------------------> | | Earnie Boyd | | | <ear...@ya...> | | | Sent by: | | | min...@li...ur| | | ceforge.net | | | | | | | | | 08/15/2003 08:35 PM | | | Please respond to | | | mingw-users | | | | |---------+---------------------------------------> >-------------------------------------------------------------------------------------------------------| | | | To: min...@li... | | cc: | | Subject: Re: [Mingw-users] mingw32-make clean not working on new XP box | >-------------------------------------------------------------------------------------------------------| Does your Win32 PATH variable contain a location to ``rm''? Earnie. Robert M Dorazio wrote: > I've been using MinGW for about 1 year on an XP box. I just installed the > same version of MingGW (using MinGW-2.0.0-3.exe) on a new XP box, and I am > not getting consistent behavior. For example, mingw32-make.exe seems to > compile, link, and build executables properly, but "mingw32-make clean" no > longer works. Here's an example of the output: > ****************************************************************** > C:\MyC++SourceCode\Timer>mingw32-make clean > rm -f driver.o Timer.o pgm.exe > process_begin: CreateProcess((null), rm -f driver.o Timer.o pgm.exe, ...) > failed > . > make (e=2): The system cannot find the file specified. > mingw32-make: *** [clean] Error 2 > ****************************************************************** > > I get the same results by typing "c:\MinGW\bin\mingw32-make clean" on the > command line (just to make sure the system path is specifying the correct > version of "make", since I also have MYS installed in a separate directory, > which is NOT on the system path). > > Does anyone have a solution to this problem??? > > Bob Dorazio > > > PS. The contents of the makefile cited above are as follows: > > # Path where Blitz++ is installed > BZDIR = c:/blitz-20001213 > > # Path where MTL is installed > MTLDIR = c:/mtl-2.1.2-21 > > # Path where NR is installed > NRDIR = c:/NumericalRecipes/Cpp210/cpp/other > > # Path to include files of my utilities > UTILDIR = c:/MyC++SourceCode/Utilities > > # Paths to compiled libraries > NRLIB = c:/MyC++SourceCode/NumRecipesLib > > CC = g++.exe > LIBS = -Lc:/MinGW/lib -L$(BZDIR)/lib -lblitz -L$(NRLIB) -lNumRecipes > INCS = -Ic:/MinGW/include -Ic:/MingGW/include/c++/3.2 -I$(BZDIR) > -I$(MTLDIR) -I$(NRDIR) -I$(UTILDIR) > > # Flags for optimized executables > # CXXFLAGS = -O2 -ftemplate-depth-30 -Wno-deprecated > > # Flags for debugging > # CXXFLAGS = -ftemplate-depth-30 -g -DBZ_DEBUG -Wno-deprecated > > # Flags for normal development > CXXFLAGS = -ftemplate-depth-30 -Wno-deprecated > > CFLAGS = $(INCS) $(CXXFLAGS) -s -ansi > > OBJ = driver.o Timer.o > TARGET = pgm.exe > > .PHONY: all all-before all-after clean clean-custom > > all: all-before $(TARGET) all-after > > clean: clean-custom > rm -f $(OBJ) $(TARGET) > > > $(TARGET): $(OBJ) > $(CC) $(OBJ) -o $(TARGET) $(LIBS) $(CFLAGS) > > driver.o: driver.cc > $(CC) -c driver.cc -o driver.o $(CFLAGS) > > Timer.o: Timer.cc > $(CC) -c Timer.cc -o Timer.o $(CFLAGS) > > > ****************************************************************************** > > Bob Dorazio > United States Geological Survey > 7920 NW 71 Street > Gainesville, Florida 32653 > Phone: (352) 378-8181 x373 > Fax: (352) 378-4956 > Email: bdo...@us... > Internet: http://cars.er.usgs.gov > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |