www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/26/17:15:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <B3953869CBF8D211A1E50004AC4C1B5402F400@ULTIMATE2>
From: "Lincoln, W. Terry" <terryl AT ultimatetechnology DOT com>
To: "'Michael K. Elwood'" <mkelwood AT qsicorp DOT com>
Cc: "'Cygwin Mailing List'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Make 3.77 $(shell) function problems
Date: Wed, 26 May 1999 15:48:39 -0400
X-Mailer: Internet Mail Service (5.5.2448.0)

Is your SHELL environment variable set to something?

Try sending in the output of:
 cygcheck -s -v -r


Michael K. Elwood wrote:
> 
> >I'm having a bit of trouble with cygwin Make 3.77. The $(shell ...)
> function
> >does not seem to be working properly. It's not returning the 
> output of the
> >shell command. Here is a simple test makefile:
> >
> >shelltest = $(shell echo Hello)
> >
> >all:
> >    @echo Shelltest = $(shelltest)
> 
> >
> >When I run this using cygwin Make 3.77, I get:
> >
> >Shelltest =
> >
> >I tried this on one of our linux boxes using Make 3.76.1, and I get:
> >
> >Shelltest = Hello
> 
> Apologies for replying to my own post, but I have some additional
> information. This problem only seems to occur in the mingw32 
> make (version
> 3.77 from JanJaap's site). The cygwin make (my current 
> installation has make
> 3.75) does not show this behavior.
> 
> Putting single quotes around the shell command (i.e. $(shell 
> 'echo Hello'),
> as someone suggested) did not help, but it did cause make to emit the
> following error message:
> 
> process_begin: CreateProcess((null), "echo Hello", ...) failed.
> make: *** expand_function: unable to launch process (e=2)
> .  Stop.
> 
> Best regards,
> 
> MKE
> 

W. Terry Lincoln - Senior Engineer       \     \   _   /
Ultimate Technology Corporation           \     \ |J| /
a Tridex Company (NASDAQ:trdx)             \     _|E|_
   ICQ# 39362285                            \   |_ S _|
  <http://wwp.icq.com/39362285>              \    |U|
 <mailto:WTerryLincoln AT engineer DOT com>          \ / |S| \
 <http://www.AngelFire.com/ny/TerryLincoln>    \  | |    
<http://www.geocities.com/Eureka/Concourse/7326> ~~~~~
==========================================================
Opinions expressed do not represent the management of UTC.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019