From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id AF1AF3858403 for ; Fri, 15 Mar 2024 14:25:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AF1AF3858403 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AF1AF3858403 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710512719; cv=none; b=TqLNOGEfD0/b76Ti+TZoJGStEIOmMvGJ1yLEAOgtwZQrdUitux/shAb6Cmd52eThOSqXHPEjSt2a6PBKTAKe/dCx39FMJ6ApwuyF8F7qdfFg8SWyukaN2E8vQeXb8Ud3QMIA+Fak/QgHbbyBOyOf/sSIPo8TWXQ76zNmEVxXC+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710512719; c=relaxed/simple; bh=5+1MGXh+KfK4/5la78v8nA9AyAcMXEhdYgbace7qfA8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=G+Amx6tqsxCK1Hfjp8BM7lrAMKC6o94Fv8PDx+sS4JXsY4OdjCeZtLw+eq10qQ0Zg5YUFJf6kGMQTSHaXCRn7n7gX1yq+WAaE3C+8n1AW36SL4kBrS+FwM84VX9gtdkgbfiYeC9SugM27cBr72YZ+dNJNS7gi0lQzQ0WEaJujnk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6004a.ext.cloudfilter.net ([10.0.30.197]) by cmsmtp with ESMTPS id l7R5rASLwtf2Ql8UmrxsSi; Fri, 15 Mar 2024 14:25:16 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id l8UlreuXhN9dDl8UmrNVIn; Fri, 15 Mar 2024 14:25:16 +0000 X-Authority-Analysis: v=2.4 cv=Z5bqHmRA c=1 sm=1 tr=0 ts=65f45a4c a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=K6JAEmCyrfEA:10 a=Qbun_eYptAEA:10 a=RcKGw5Q5h8xHh0kkjLgA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oaI/7RTSNKMF91Qra7HYU7SGc5u3U4cNV6QSWhEbBfA=; b=OMd1mea+325sWWOzcF/9p1d1U1 UxUkKN7W81SQda7rnox8ecmGFeTA5FjjEICeOA5F3+f3ikABfTV0+WCJxaChK+gDyRuCLOtcm+oQV tELx8suLh1eIr3FWtuWywMOly; Received: from 97-122-82-115.hlrn.qwest.net ([97.122.82.115]:34128 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rl8Ul-003y05-13; Fri, 15 Mar 2024 08:25:15 -0600 From: Tom Tromey To: Eric Gallager Cc: Christophe Lyon , Simon Marchi , binutils@sourceware.org, gdb@sourceware.org, gcc@gcc.gnu.org Subject: Re: [RFC] add regenerate Makefile target References: <20240313080237.1143034-1-christophe.lyon@linaro.org> <1eb529f2-3842-4090-a8e2-f713a28f2394@simark.ca> X-Attribution: Tom Date: Fri, 15 Mar 2024 08:25:12 -0600 In-Reply-To: (Eric Gallager's message of "Fri, 15 Mar 2024 10:13:02 -0400") Message-ID: <87edcbk1x3.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.82.115 X-Source-L: No X-Exim-ID: 1rl8Ul-003y05-13 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-82-115.hlrn.qwest.net (murgatroyd) [97.122.82.115]:34128 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfB4MRbRDo+QiXamMtH2mtoupjLyTGHY2emk/QjOPiUbIMapcqzGBSPL0qb9Jlmud1tFrjNX3AqbvVzRkPOdC25bl6SxljDlKDIGfmR8qFYkdqlmAdH2U VGJM4Q6LH6WVCMtOefvpV2a5NA+tsWCSBBTmDBBMLpRomBd1TZr0OzI1E+SUXEJ+2z+tnSAz7sJnnw== X-Spam-Status: No, score=-1006.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Eric" == Eric Gallager writes: Eric> Also there are the files generated by cgen, too, which no one seems to Eric> know how to regenerate, either. I thought I sent out some info on this a while ago. Anyway what I do is make a symlink to the cgen source tree in the binutils-gdb source tree, then configure with --enable-cgen-maint. Then I make sure to build with 'make GUILE=guile3.0'. It could be better but that would require someone to actually work on cgen. Eric> And then in bfd there's that chew Eric> program in the doc subdir. And then in the binutils subdirectory Eric> proper there's that sysinfo tool for generating sysroff.[ch]. gdb used to use a mish-mash of different approaches, some quite strange, but over the last few years we standardized on Python scripts that generate files. They're written to be seamless -- just invoke in the source dir; the output is then just part of your patch. No special configure options are needed. On the whole this has been a big improvement. Tom