[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU make doesn't use windows cmd.exe shell
From: |
Greg Chicares |
Subject: |
Re: GNU make doesn't use windows cmd.exe shell |
Date: |
Tue, 24 Aug 2010 14:40:21 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
On 2010-08-23 08:20Z, Sebastian WAGNER wrote:
>
> I have a problem with the latest GNU make version 3.81-2 running on a
> Windows XP system (using cygwin) and hope that you can help me.
3.82 is now available:
http://lists.gnu.org/archive/html/help-make/2010-07/msg00049.html
> I used a very old make version before and wanted to upgrade. Now it seems
> that make runs in the sh.exe shell and doesn't find the paths for the tools.
> I need to run it on the cmd.exe shell and tried to set a environment
> variable SHELL = c:\windows\system32\cmd.exe as described in the release
> notes. But this doesn't seem to work.
If it says
make: c:windowssystem32cmd.exe: Command not found
then you might instead try writing forward slashes:
SHELL = c:/windows/system32/cmd.exe
But, as long as you're using cmd.exe instead of sh, it would probably
be better to use a native 'make'. It should build right out of the box,
or you can download a precompiled binary here:
http://sourceforge.net/projects/mingw/files/MinGW/make/make-3.82-mingw32/make-3.82-3-mingw32-bin.tar.lzma/download