[Top][All Lists]

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

Re: Bug: make igores options, switches and targets

From: Eli Zaretskii
Subject: Re: Bug: make igores options, switches and targets
Date: Fri, 19 Jan 2007 13:10:04 +0200

> Date: Thu, 18 Jan 2007 22:28:12 +0100
> From: Georg-Johann Lay <address@hidden>
> I have some trouble with GNU make. The make comes from WinAVR, a 
> distribution of avr-gcc for Win32, i.e. mingw. It is the most recent 
> build from 2006-04-21

But the output you show from "make --version", viz.

>  > make --version
> GNU Make 3.80

clearly says that this is not the latest version of Make.  The latest
version is 3.81, and it is available from MinGW.

>  > make clean
> echo clean
> clean
>  > sh -c 'make clean'
> echo all
> all
>  > sh -c 'echo clean'
> clean
> So there is no way to use make recursively or to run it from within a 
> shell script or a Makefile, because it does not recognize any option, 
> switch or target.

I cannot reproduce this, neither with a MinGW build of Make 3.80 nor
with Make 3.81, but then I don't use the MSYS port of Bash as the

> Is there anything I can do? It is obviously a problem of make and not of sh.

``Obvioulsy''?  I wouldn't say that, since "make clean" from the shell
prompt works just fine.  I'd rather think that it's some
incompatibility between Make and the shell you are using.  Perhaps
asking on the MSYS mailing list would help.

reply via email to

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