public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jun Leng <jun_leng@brown.edu>
To: gcc-help@gcc.gnu.org
Subject: Building gcc-8.3.0 into a separate directory from the sources but failed
Date: Wed, 11 Nov 2020 19:46:07 -0500	[thread overview]
Message-ID: <A74BE295-E97F-4661-A5C0-3AA61D3F246E@brown.edu> (raw)

Dear all, I built gcc-8.3.0 into a separate directory from the sources but still failed.

My commands are as follows:
1 cd ..
2 mkdir gcc1
3 cd gcc1
4 ../gcc-8.3.0/configure --prefix=/public/home/lengjun/softwares/gcc1 --with-gmp=/public/home/lengjun/softwares_install_leng/gmp-6.1.0 --with-mpfr=/public/home/lengjun/softwares_install_leng/mpfr-3.1.4 --with-mpc=/public/home/lengjun/softwares_install_leng/mpc-1.0.3  --with-isl=/public/home/lengjun/softwares_install_leng/isl-0.18 --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit  --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux --disable-multilib

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

Then I ran make distclean in the path gcc1 and it showed that:
...
make: [local-distclean] Error 1 (ignored)
rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
make: [local-distclean] Error 1 (ignored)
rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
make: [local-distclean] Error 1 (ignored)
rmdir texinfo zlib 2>/dev/null
make: [local-distclean] Error 1 (ignored)
find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
make: [local-distclean] Error 1 (ignored)

Then I create another new directory and it still showed the error above.

Can anybody help me?

Best regards,

Jun

Attached is relevant information.




             reply	other threads:[~2020-11-12  0:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-12  0:46 Jun Leng [this message]
2020-11-12  3:26 ` Jim Wilson
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=A74BE295-E97F-4661-A5C0-3AA61D3F246E@brown.edu \
    --to=jun_leng@brown.edu \
    --cc=gcc-help@gcc.gnu.org \
    /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).