Mail Archives: djgpp/2000/07/06/09:25:10
"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 -