From: Ulf Samuelsson <binutils@emagii.com>
To: Michael Matz <matz@suse.de>
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 16:26:38 +0100 [thread overview]
Message-ID: <00619f9f-534c-c928-4b22-8870df7307e5@emagii.com> (raw)
In-Reply-To: <alpine.LSU.2.20.2302171427090.16810@wotan.suse.de>
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.
prev parent reply other threads:[~2023-02-17 15:26 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
2023-02-17 15:26 ` Ulf Samuelsson [this message]
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=00619f9f-534c-c928-4b22-8870df7307e5@emagii.com \
--to=binutils@emagii.com \
--cc=binutils@sourceware.org \
--cc=matz@suse.de \
--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).