The binutils ".gitignore" seems outdated & "make distclean" does not clean everything
Michael Matz
matz@suse.de
Fri Feb 17 14:34:54 GMT 2023
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.
More information about the Binutils
mailing list