make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Shell commands in makefile not working (running Windows XP)


From: Scott Merz
Subject: RE: Shell commands in makefile not working (running Windows XP)
Date: Wed, 13 Aug 2003 10:39:02 -0700

 

Right. And I finally got it to work this time.

So SHELL=C:\Windows\System32\cmd.exe

However, when I go to use the shell command, it still gives me the exception error.

So back to ground zero.

 

-Scott

-----Original Message-----
From: Matt Lavoie [mailto:address@hidden
Sent:
Wednesday, August 13, 2003 10:28 AM
To: 'Scott Merz'
Subject: RE: Shell commands in makefile not working (running Windows XP)

 

I'm overriding SHELL in the MAKEFILE, not in the environment.

-----Original Message-----
From: Scott Merz [mailto:address@hidden
Sent: Wednesday, August 13, 2003 1:22 PM
To: address@hidden
Subject: RE: Shell commands in makefile not working (running Windows XP)

Hmmmm...

 

invoked make:

make -e -w debug

 

set SHELL:

SHELL=C:\Windows\Win32\cmd.exe

 

displayed SHELL:

echo ( $(SHELL) )

 

Output:

( sh.exe )

 

SHELL is still set to sh.exe! Must be some sort of incompatibility between make and the interpreter (looks even more like it the longer I mess with this thing).

 

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Scott Merz
Sent: Wednesday, August 13, 2003 10:04 AM
To: address@hidden
Subject: RE: Shell commands in makefile not working (running Windows XP)

 

Did you invoke make with the -e option to get that to work?

 

So by fully qualified you mean no Environment variables in the file path?

i.e.

SHELL=%SystemRoot%\win32\cmd.exe would be WRONG

 

And

SHELL=C:\Windows\win32\cmd.exe would be CORRECT??

 

I'm going to try that now...thanks a bunch

 

-Scott

The Insitu Group

address@hidden

 

-----Original Message-----
From: Matt Lavoie [mailto:address@hidden
Sent: Wednesday, August 13, 2003 9:59 AM
To: 'Scott Merz'
Subject: RE: Shell commands in makefile not working (running Windows XP)

 

I found that putting a fully qualified path into SHELL= did get make to use cmd.exe again.

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]