Re: Building gcc-8.3.0 into a separate directory from the sources but failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 11, 2020 at 4:46 PM Jun Leng via Gcc-help <gcc-help@xxxxxxxxxxx>
wrote:

> 5 make
> The error is:
> configure: error: source directory already configured; run "make
> distclean" there first
>

If you used git to create the source tree, then using git to clean it is
probably easiest.  Maybe something like
  git clean -f -x -d
assuming that you don't have anything in there that you want to keep.  You
need to get the source tree to the state where git status --ignored shows
no changes.

Or even simpler is to just rm -rf your existing tree and git clone a new
one, and then be careful not to run configure in the source tree again.

I doubt that using make distclean is going to work.

Jim



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux