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]

 



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.







[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