public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Michael Matz <matz@suse.de>
To: Ulf Samuelsson <binutils@emagii.com>
Cc: binutils@sourceware.org, Nick Clifton <nickc@redhat.com>
Subject: Re: The binutils ".gitignore" seems outdated & "make distclean" does not clean everything
Date: Fri, 17 Feb 2023 14:34:54 +0000 (UTC)	[thread overview]
Message-ID: <alpine.LSU.2.20.2302171427090.16810@wotan.suse.de> (raw)
In-Reply-To: <f4fd2147-3372-076e-8686-a1bbde2f3b59@emagii.com>

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

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.

(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.

  reply	other threads:[~2023-02-17 14:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16  8:37 Ulf Samuelsson
2023-02-17 14:34 ` Michael Matz [this message]
2023-02-17 15:26   ` Ulf Samuelsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LSU.2.20.2302171427090.16810@wotan.suse.de \
    --to=matz@suse.de \
    --cc=binutils@emagii.com \
    --cc=binutils@sourceware.org \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).