[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: if SHELL not set, COMSPEC used - not working?
From: |
Eli Zaretskii |
Subject: |
Re: if SHELL not set, COMSPEC used - not working? |
Date: |
Thu, 05 Nov 2009 06:07:18 +0200 |
> From: "Mark Galeck (CW)" <address@hidden>
> Date: Wed, 4 Nov 2009 16:51:15 -0800
> Accept-Language: en-US
> acceptlanguage: en-US
> Cc:
>
> The GNU Make manual says:
>
> "On MS-DOS, if SHELL is not set, the value of the variable COMSPEC (which is
> always set) is used instead."
>
> This does not seem to work for me? Why, is this a bug?
No, it's because the above says "On MS-DOS", while you are on Windows:
> D:\tmp>ver
>
> Microsoft Windows XP [Version 5.1.2600]
On MS-Windows, you need to explicitly say "SHELL=cmd.exe" in the
Makefile (or on the Make command line) to get this behavior.