From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: src/Makefile unhelpful Date: Wed, 07 Sep 2022 05:41:03 +0300 Message-ID: <83bkrrj48w.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1603"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 07 04:42:12 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVl12-0000Ia-Hf for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Sep 2022 04:42:12 +0200 Original-Received: from localhost ([::1]:37620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVl11-0007Sm-Kk for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 22:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVl0C-0006gb-Sz for emacs-devel@gnu.org; Tue, 06 Sep 2022 22:41:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVl0C-0000Dj-Kk for emacs-devel@gnu.org; Tue, 06 Sep 2022 22:41:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QGc+R6j6Y4u2aFBoFTigX0FXjLSBCkMl2MUcize/lLk=; b=McD4Bpr42GRh O0buZ+FUS+4om0yJ8z8DKhU1jBLFv3lR0lMFnR64y+gWGDbCGLZ5Aiq0Dm2XfMRdwL/UA7rTp2W9M AU/kRxaOB6+C4xX/0ffogw7Yxpri2/pj37dwCXD4xbov23J+gFD8u219iNIceXRd0zocEKZs5VzWu QLHidmwL/8xMyFwIm/7rDnRc2EC4G3HFFaONo8A4pSdh5WKJTrReOLMgzz6ZWWDsm9U92gITn2rlr 9YoQv1m0lErq+knXevwn+6VqSz62Rf6rY14pGn+F2C0beFJa89ANZIlsrGET0mXfVmrVM1+gz1Twj lDRscyiiqhHfF64HPpBjSQ==; Original-Received: from [87.69.77.57] (port=3480 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVl0B-0003CI-Q6; Tue, 06 Sep 2022 22:41:20 -0400 In-Reply-To: (message from Richard Stallman on Tue, 06 Sep 2022 22:19:08 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:294815 Archived-At: > From: Richard Stallman > Date: Tue, 06 Sep 2022 22:19:08 -0400 > > Building temacs, when compiling the C source files, outputs lines like these > > CC dispnew.o > CC frame.o > CC scroll.o > CC xdisp.o > > which don't show the arguments actually used. > (Why does it show that instead of the actual command? > What code in the Makefile causes this? > Perhaps add comments to explain this.) > > To show all the arguments on each line would be a nuisance, > but when one wants to investigate what they were, > I find no easy way to do it. How do you do that? The way to see the arguments is to say make V=1 > Anyway, I think it would be useful for each make run to output, for > debugging, each actual command. It could show each of the usual > commands once, or (if it isn't hard) only the usual commands that were > actually executed. To show, for instance, what this expands into: > > $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $(PROFILING_CFLAGS) > > at least if the .c.o rule is ever used. I think this is rarely needed, so having it silent by default is better.