From: Jim Wilson <jimw@sifive.com>
To: Jun Leng <jun_leng@brown.edu>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Building gcc-8.3.0 into a separate directory from the sources but failed
Date: Wed, 11 Nov 2020 19:26:04 -0800 [thread overview]
Message-ID: <CAFyWVabo0_JJcfNWLfbKE7ATR1ypnNUQYbGCTS4xOnKnTDwxwQ@mail.gmail.com> (raw)
In-Reply-To: <A74BE295-E97F-4661-A5C0-3AA61D3F246E@brown.edu>
On Wed, Nov 11, 2020 at 4:46 PM Jun Leng via Gcc-help <gcc-help@gcc.gnu.org>
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
next prev parent reply other threads:[~2020-11-12 3:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-12 0:46 Jun Leng
2020-11-12 3:26 ` Jim Wilson [this message]
2020-11-12 7:44 ` Kai Ruottu
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=CAFyWVabo0_JJcfNWLfbKE7ATR1ypnNUQYbGCTS4xOnKnTDwxwQ@mail.gmail.com \
--to=jimw@sifive.com \
--cc=gcc-help@gcc.gnu.org \
--cc=jun_leng@brown.edu \
/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).