This is the mail archive of the
mailing list for the Cygwin project.
RE: gcc build problem - make vpath
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Cygwin'" <cygwin at cygwin dot com>
- Date: Tue, 3 Oct 2006 22:36:06 +0100
- Subject: RE: gcc build problem - make vpath
On 03 October 2006 22:06, Michael Eager wrote:
> Dave Korn wrote:
> I looked for make-3.80. I didn't find it in a cygwin repo,
> but there was a link on mozilla.org to binaries. I installed
> these binaries for make-3.80.
> Building gcc using the mozilla version of make-3.80 fails
> as previously described. I assumed that this version of
> make was the same as the one which I previously installed.
> Apparently, it isn't or there is some other incompatibility.
In general, if you find a bug in a package you got from mozilla.org (or
indeed anywhere except an official cygwin mirror site), you should in the
first place tell them about it, not us. However, it does seem that the one on
mozilla.org is the exact same version as you previously had installed:
is the result I got for the moz.org one and for the old copy lying around in
my local package dir. So something else must have gone wrong, because that's
the exact same one that works for me to build gcc.
You mentioned '%' signs in environment variables and VPATH. Bash and make
use a '$' to indicate a variable, and make uses '%' to indicate a
pattern-matching rule. You're always going to give make a hard time, because
if it sees
$(CC) ... blah ...
how is it going to know whether you're specifying a pattern matching rule for
generating any .o file from any .c file, or whether the DOS environment var
%.c% perhaps exists and contains the name of some <sourcefile> and this rule
is how to generate <sourcefile>.o ?
How did you actually write the configure and make command lines when it went
wrong? Did you configure with one version of make and then try and build it
with the other?
> The answer to my last question seems to be yes. (Thanks
> Matthew!) I'll look into using William Hoffman's patched
> version of make-3.81.
This should do the job.
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html