public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Don Sharp <Don.Sharp@dddandr.octacon.co.uk>
To: "Brown, Kim" <Kim.Brown@wl.com>
Cc: "'Blob, Dave'" <Dave.Blob@gs.com>,
	"'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
Subject: Re: Problem with make
Date: Wed, 09 Jun 1999 12:26:00 -0000	[thread overview]
Message-ID: <375EBF83.2BB6CF98@dddandr.octacon.co.uk> (raw)
In-Reply-To: <9F481A71957AD111BB2300805FE65D2504749D32@mpisex02.mops.wl.com>

Brown, Kim wrote:
> 
> I have found GNU make to be buggy with some makefiles, especially those
> generated by PERL install packages.  I just use nmake from microsoft without
> problems.  Anyone else have problems with GNU make?
> 

Yes. I am currently trying to isolate a test case to demonstrate a bug
(in 3.77) which takes the form of showing the right set of commands to
execute when you do a

make -n target

without the -n it then tries a build of the dependencies using the
built-in rules, overriding any rules in the Makefile, even if the
dependencies don't need to be re-built.

The main point of interest is that the target must be specified within a
Make variable like

TARGET = me target

DEPENDENCY = son

$(TARGET): $(DEPENDENCY)
	throw $@ and son out of the bar at midnight

and you do a

make me

for instance.

Cheers

Don Sharp


> >
> > Ok, this is a wierd one, so bear with me.
> >
> > I've been using cygwin to do some java development with a
> > coworker.  For a
> > while, we were just doing "jikes *.java", and had no problems.  As the
> > project grew, we split things into packages and added
> > Makefiles to build the
> > whole project.  The problem that showed up was that it worked
> > for me, but
> > not for him - he'd get an error message each time that said "jikes -
> > permission denied".  The same command that make was trying to
> > execute worked
> > from the command line though... Perplexing.  We switched to
> > javac - worked
> > fine.
> >
> > Anyhow, Turns out that in the directory where jikes.exe is, he had a
> > directory named jikes also - make was trying to execute it,
> > but bash wasn't.
> >
> >
> > So obviously, this is a bug in make - it must be looking for
> > a program named
> > jikes before jikes.exe - I guess.  Either that, or it's not
> > checking to make
> > sure it's a directory when it checks.  I don't mind tracking
> > this one down
> > and submitting a bug fix, but I thought I ought to find out
> > if it's been
> > heard of or fixed, etc.
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: Don Sharp <Don.Sharp@dddandr.octacon.co.uk>
To: "Brown, Kim" <Kim.Brown@wl.com>
Cc: "'Blob, Dave'" <Dave.Blob@gs.com>,
	"'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
Subject: Re: Problem with make
Date: Wed, 30 Jun 1999 22:10:00 -0000	[thread overview]
Message-ID: <375EBF83.2BB6CF98@dddandr.octacon.co.uk> (raw)
Message-ID: <19990630221000.v_kcVlWC9apnpeXmrvLS9FCgzcBv8aITxzbFvpmOr7s@z> (raw)
In-Reply-To: <9F481A71957AD111BB2300805FE65D2504749D32@mpisex02.mops.wl.com>

Brown, Kim wrote:
> 
> I have found GNU make to be buggy with some makefiles, especially those
> generated by PERL install packages.  I just use nmake from microsoft without
> problems.  Anyone else have problems with GNU make?
> 

Yes. I am currently trying to isolate a test case to demonstrate a bug
(in 3.77) which takes the form of showing the right set of commands to
execute when you do a

make -n target

without the -n it then tries a build of the dependencies using the
built-in rules, overriding any rules in the Makefile, even if the
dependencies don't need to be re-built.

The main point of interest is that the target must be specified within a
Make variable like

TARGET = me target

DEPENDENCY = son

$(TARGET): $(DEPENDENCY)
	throw $@ and son out of the bar at midnight

and you do a

make me

for instance.

Cheers

Don Sharp


> >
> > Ok, this is a wierd one, so bear with me.
> >
> > I've been using cygwin to do some java development with a
> > coworker.  For a
> > while, we were just doing "jikes *.java", and had no problems.  As the
> > project grew, we split things into packages and added
> > Makefiles to build the
> > whole project.  The problem that showed up was that it worked
> > for me, but
> > not for him - he'd get an error message each time that said "jikes -
> > permission denied".  The same command that make was trying to
> > execute worked
> > from the command line though... Perplexing.  We switched to
> > javac - worked
> > fine.
> >
> > Anyhow, Turns out that in the directory where jikes.exe is, he had a
> > directory named jikes also - make was trying to execute it,
> > but bash wasn't.
> >
> >
> > So obviously, this is a bug in make - it must be looking for
> > a program named
> > jikes before jikes.exe - I guess.  Either that, or it's not
> > checking to make
> > sure it's a directory when it checks.  I don't mind tracking
> > this one down
> > and submitting a bug fix, but I thought I ought to find out
> > if it's been
> > heard of or fixed, etc.
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

  reply	other threads:[~1999-06-09 12:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-09  9:43 Brown, Kim
1999-06-09 12:26 ` Don Sharp [this message]
1999-06-30 22:10   ` Don Sharp
1999-06-30 22:10 ` Brown, Kim
  -- strict thread matches above, loose matches on Subject: below --
2013-06-05  7:00 Lange, Jan-Erik
2013-06-05  7:31 ` Corinna Vinschen
2002-04-22  0:50 problem " Jason Morgan
     [not found] <009001c17d8a$9ad87380$9a5f07d5@BRAMSCHE>
2001-12-05  5:26 ` Earnie Boyd
     [not found] <200103150254.SAA09865@cygnus.com>
2001-03-14 19:04 ` Problem " Christopher Faylor
2001-03-14 18:54 Mark Paulus
2000-08-17  9:43 problem " Brian Pollard
2000-08-17 23:26 ` Lassi A. Tuura
2000-08-16 15:58 Noel L Yap
2000-08-16 15:23 Noel L Yap
2000-08-16 13:12 Heribert Dahms
2000-08-16 23:01 ` Lassi A. Tuura
2000-08-15 10:37 Brian Pollard
2000-08-16  0:01 ` Avraham H. Fraenkel
2000-08-16  4:34 ` Lassi A. Tuura
1999-06-10  4:56 Problem " Brown, Kim
1999-06-30 22:10 ` Brown, Kim
1999-06-09 23:12 N8TM
1999-06-30 22:10 ` N8TM
1999-06-09 12:17 Phil Edwards
1999-06-30 22:10 ` Phil Edwards
1999-06-09  9:36 Blob, Dave
1999-06-30 22:10 ` Blob, Dave
1998-08-06 14:36 problem " Stuart
1998-08-07 10:39 ` Stuart
1998-08-09 11:19   ` Pete Jordan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=375EBF83.2BB6CF98@dddandr.octacon.co.uk \
    --to=don.sharp@dddandr.octacon.co.uk \
    --cc=Dave.Blob@gs.com \
    --cc=Kim.Brown@wl.com \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).