public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building gcc-8.3.0 into a separate directory from the sources but failed
@ 2020-11-12  0:46 Jun Leng
  2020-11-12  3:26 ` Jim Wilson
  2020-11-12  7:44 ` Kai Ruottu
  0 siblings, 2 replies; 3+ messages in thread
From: Jun Leng @ 2020-11-12  0:46 UTC (permalink / raw)
  To: gcc-help

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-12  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-12  0:46 Building gcc-8.3.0 into a separate directory from the sources but failed Jun Leng
2020-11-12  3:26 ` Jim Wilson
2020-11-12  7:44 ` Kai Ruottu

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).