The binutils ".gitignore" seems outdated & "make distclean" does not clean everything
Ulf Samuelsson
binutils@emagii.com
Fri Feb 17 15:26:38 GMT 2023
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.
More information about the Binutils
mailing list