www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/06/09:25:10

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Possible make breakage
Date: 6 Jul 2000 11:07:58 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 31
Message-ID: <8k1pae$am0$1@nets3.rz.RWTH-Aachen.DE>
References: <3uO85.30140$ko1 DOT 653025 AT afrodite DOT telenet-ops DOT be>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 962881678 10944 137.226.32.75 (6 Jul 2000 11:07:58 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 6 Jul 2000 11:07:58 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Tim \"Zastai\" Van Holder" <zastai AT hotmail DOT com> wrote:

> .c.o:
>     source='$<' object='$@' libtool=no \
>     depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
>     $(CCDEPMODE) $(depcomp) \
>     $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<

AFAICS, the most probable problem with this is that 'make' did not
recognize that it needs to invoke a shell to execute it, for lack of
any of the 'telltale' signs (no ';', no recognized Sh-only internal
command, no '(', ')' around the command).

It may help to set up SHELL to include the '-vx' options so you can
see what exactly it tries to execute.

> I'm at a loss as to why this is; if
> the same method of invocation is used in a script in bash, it works fine. 

The problem is that this line never reaches Bash, I think. Unlike
traditional Unix versions, DJGPP Make tries to execute many commands
itself, without spawning yet another Bash session. AFAIK, this is
still the case even if SHELL is set to a Unix-style shell.





-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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