This is the mail archive of the
mailing list for the Cygwin project.
Re: problems with make under cygwin
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Ricky Wildman <r dot wildman1 at ntlworld dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 28 Aug 2003 09:21:47 -0400 (EDT)
- Subject: Re: problems with make under cygwin
- References: <firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Thu, 28 Aug 2003, Ricky Wildman wrote:
> I have recently installed cygwin and make components onto a PC.
> I have a working makefile for a set of Fortran programs that works
> fine with Solaris machine, but when I try these under cygwin I get
> the following error:
> Target pattern contains no '%'
> I'm a bit confused because I can't see any difference in the syntax
> required yet I get an error on one platform but not on the other. Perhaps
> there is a difference between gnumake and sun make?
> The relevant text in the makefile is
> ---makefile end---
> Cheers for any help
There are most definitely differences between GNU make and sun make.
However, I don't know if they manifest in your particular Makefile. The
bit you posted was not enough to test anything with GNU make -- many
variable definitions were missing, plus you might want to attach the
Makefile next time, as line endings and tabs were screwed up by your
One thing I'd suggest, if you aren't already running GNU make on the Sun
machine ('make' is GNU make on our Solaris machine, for example) is try to
use 'gmake' or 'gnumake' on your Makefile and see if it works. In any
case, note the versions of both make's, and compare the GNU one with the
one you have on Cygwin.
Another thing is line endings. CRLF line endings sometimes affect make
adversely, so if your Makefile contains them, try to run make with the
Makefile on a text mount, or filter out the CRs (by using d2u or "sed
And a general advice on reporting Cygwin problems: read
<http://cygwin.com/problems.html> and follow the recommendations there.
In particular, we know nothing about your environment (i.e., what your
PATH is, what version of Cygwin make you have installed, what MAKE_MODE is
set to, what your mounts are, etc, etc). The output of "cygcheck -svr",
which the above document suggests you attach to your e-mail (as an
uncompressed text *attachment*) will contain most of this information.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html