delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/10/20:46:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <024401c210e1$97f9c610$6132bc3e@BABEL>
From: "Conrad Scott" <Conrad DOT Scott AT dsl DOT pipex DOT com>
To: <cygwin AT cygwin DOT com>
References: <080e01c20fd3$69ad33f0$6132bc3e AT BABEL> <01a501c210d5$72d315f0$6132bc3e AT BABEL> <20020611002750 DOT GA14276 AT redhat DOT com>
Subject: Re: ccache and -MMD / *.d issue
Date: Tue, 11 Jun 2002 01:47:42 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

------=_NextPart_000_0241_01C210E9.F98D5A10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

"Christopher Faylor" <cgf AT redhat DOT com> wrote:
> >What *is* an issue (if anyone's still listening to my witterings) is the
> >Makefile in the cygwin source directory. If you compile from the top
level,
> >the -MMD flag gets lost, while if you compile in the cygwin directory
> >itself, it's fine.
>
> I don't know what you mean by "top level" but if you compile from the
> winsup directory, it doesn't happen that way here (obviously?).

By top-level, I meant the `obj' directory, i.e. (ascii art time):

    .../src/
            newlib/
            winsup/
                cygwin/
                utils/
    .../obj/
            i686-pc-cygwin/
                newlib/
                winsup/
                    cygwin/
                    utils/

That is, if you compile in the .../obj/i686-pc-cygwin/winsup/cygwin
directory (or in the .../obj/i686-pc-cygwin/winsup directory, as you point
out), you get the .d files created; but if you compile from the obj
directory itself (i.e. to build newlib as well as cygwin), you don't get any
.d files (in the cygwin directory).

I assume (but I've assumed too much recently to be confident about anything
anymore) that this is because the top-level (.../obj) Makefile defines
CFLAGS (without including -MMD) and this interferes with the definition in
.../obj/i686-pc-cygwin/winsup/cygwin/Makefile. But I'm not awake enough
right now to figure out recursive makefile issues.

(The makefile in the bzip2 directory doesn't suffer this problem by the
way.)

Really strangely, the -fbuiltin from the CFLAGS gets picked up but not
the -MMD from the same CFLAGS+=... statement in .../cygwin/Makefile. I'm
totally confused is all I can say.

I've attached the result of running make in the .../obj directory with just
a single .o file removed in the .../obj/i686-pc-cygwin/winsup/cygwin
directory. The build command includes -fbuiltin but not -MMD. What gives?

I think it's time for bed is presumably what gives.

// Conrad


------=_NextPart_000_0241_01C210E9.F98D5A10
Content-Type: application/octet-stream;
	name="make.log.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="make.log.bz2"

QlpoOTFBWSZTWRms36UAMuffgFAwVf/////v39//////YBP++6YQp8Tb3t7yt7wvPXpbVpnOuegG
5XjqCtB7s7YooybarY0JGQ0ABqeEoKaaJqjep6hlN6mm1T09U2UGajTNMU2po9QAaBoNABqYgyBF
PUZTRpoDeqAABkAADQA0yZA5piMjJpk0AyGjIZMgAABkaZGgYQyBJqJEBTU9iFPJAyHqeoAANPUA
NqaDRoAAEShTSbRqehJ5MlNppoymQDCaGTINGQNNNA0GgRKEAQAp6DSNT0mpsUyTanpND0npNPKA
eoHpBtNQsCWELCECCwhBhPEKuuHVM9fpt5fLkBfu/1ugN9jw8K/VUSnRu+8MMUush4xbU0P9LLuv
IgYKLJwE8nDBwPCZCfBvXhu/PeC0/B/ZI1AMnOIgkkiBPjL5SDUcufDfSvd2BXJ8UC2wha1aGb+z
3i9cQ9ZAIQv6w/E+8+o0+VhAVyiEgnfxC3fLG85xyHouE9R30l4PMcFfYdQvAYC3iwXPr6DNoOJd
x1rn+Grj3AtEY2RLInr6BHG+7s6OgtOQ7AdBDV2y7dnLQoV4o7GDpY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xg9OO47Xbbh4Oq
AKFgwONCJQud+wuvJShqAiVChl9Na7TIORx4hqqI706+7MzQWQjmAiZCYUTaPXoHcaF5zIYEN074
zCktaWKTC++6XSXrWtE9W9yeuAvp38AGp35YCU0TSoCJ1TdUVNOXuxLGgeYbA2BcvniB0RbaVOD2
eZXQrSZXhhqdLvaiYCtN7nQ7j1NiGSYgqbRMObeMXI/kIGrUmJeFQ2vVxwpfAOHWUXVpi7lVby4D
6zyRO8JCKiBsmmIeG47O+4s5lO7kJUxBaGNFFSmnPua7rVM9k14ZJrMHhFy4YkUs1FSvP83cGKjd
rUDYKBDF3puEqiALVzbrlRGpmAUc3xX13IEUHqGKKkGOiUkQmtFQXhasAReM2McdPeC+AOP/CgUE
xAYnEFBz2dXRthp/4u5IpwoSAzWb9KA=


------=_NextPart_000_0241_01C210E9.F98D5A10
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
------=_NextPart_000_0241_01C210E9.F98D5A10--


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019