From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emagii.se (www.emagii.com [185.133.207.17]) by sourceware.org (Postfix) with ESMTPS id 4B1DE385781F for ; Fri, 17 Feb 2023 15:26:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4B1DE385781F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=emagii.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=emagii.com Received: from [10.175.196.145] (84-55-68-216.customers.ownit.se [84.55.68.216]) by emagii.se (Postfix) with ESMTPSA id A7454120009; Fri, 17 Feb 2023 16:26:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emagii.com; s=default; t=1676647599; bh=bu/arT50KytQzdLZ9MozarzOVBO9FLhYxpSwNVoWqi0=; h=Subject:To:From; b=LXzNenjDcgGMtXkoJr7wYf2+ApTB+vdJu1l4RJRHjpEW5cUG/NU7lUeTEPR93kWZQ CdSYzyoWfwi138S4pPTTOBGpI+SGRcdgwwanJOBAsZbZKSDqoL36JXFlO5xu3IdWDe GHjU7rjvopUX2NVWNfqpjB/ZkhOsjivxfjVy4im8= Authentication-Results: emagii.beebytevps.io; spf=pass (sender IP is 84.55.68.216) smtp.mailfrom=binutils@emagii.com smtp.helo=[10.175.196.145] Received-SPF: pass (emagii.beebytevps.io: connection is authenticated) Message-ID: <00619f9f-534c-c928-4b22-8870df7307e5@emagii.com> Date: Fri, 17 Feb 2023 16:26:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: The binutils ".gitignore" seems outdated & "make distclean" does not clean everything Content-Language: sv-FI To: Michael Matz Cc: binutils@sourceware.org, Nick Clifton References: From: Ulf Samuelsson In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <167664759893.4074069.14125696357454853835@localhost.localdomain> X-PPP-Vhost: emagii.com X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_FAIL,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Den 2023-02-17 kl. 15:34, skrev Michael Matz: > Hey, > > On Thu, 16 Feb 2023, Ulf Samuelsson via Binutils wrote: > >> Ran a build script. >> >> ================= >> #!/bin/bash >> DEST_DIR=/home/ulf/projects/binutils/bin >> mkdir        -p $DEST_DIR >> rm             -fr $DEST_DIR/* >> ./configure --prefix $DEST_DIR >> make -j 32 >> make install >> ================= > Always build binutils in a separate build dir. (Not doing so will usually > work, except when it doesn't; but the general advise is always to build in > separate dirs). That alone will get rid of most (if not all) of the > additional files you see. make distclean will be similar. OK, that makes sense. I usually build things with Yocto, so I seldom get exposed to this issue. Thanks, Ulf > (That doesn't mean that .gitignore might not want additions, but usually > people don't notice this as they build in separate dirs) > > Ciao, > Michael.