Home > Gcc Error > Gcc Error Static-libstdc Not Implemented

Gcc Error Static-libstdc Not Implemented

If you have them, rerun configure with --enable-multilib. flex checking for makeinfo... no checking for gnatmake... That's important. –ams Jul 1 '14 at 11:04 I understood my mistake, of building the compiler from the source directory itself and now I am trying to do it

nm checking for objdump... ranlib checking for readelf... Soldier mentioned in War Dogs Shortest code to throw SIGILL Factorial digit sum How safe are Wi-Fi Hotspots? make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/home/user/software/gcc-4.9.0' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/user/gcc-build/gcc-4.9.0' make: *** [all] Error 2 gcc makefile installation install gcc4.9 share|improve this question

yes checking for libsanitizer support... no checking for lipo... no checking where to find the target ar... no checking for ar...

make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/home/enrico/gcc-4.9.3' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/enrico/gcc-4.9.3' make: *** [all] Error 2 what happens? I've installed manually mpc, gmp and mpfr before running ./configure Configure line: ../gcc-4.9.0/configure --prefix=/usr/new/gcc_install --enable-shared --with-gmp=/usr/new/gmp_install --with-mpfr=/usr/new/mpfc_install --with-mpc=/usr/new/mpc_install and it works fine. Why no trees? ranlibchecking for x86_64-unknown-linux-gnu-strip...

If it didn't find some libs, I understand that I would have checked the option --with-... host tool checking where to find the target windmc... How should I build it? > On 8 August 2014 11:22, Kirill Voronin <[hidden email]> wrote: >> >> Actually, the version doesn't matter except it should be greater than >> 4.8. http://stackoverflow.com/questions/24488828/unable-to-install-gcc-4-9-0 configure: error: in`/home/mdl/ids103/gcc-4.8.1-build/x86_64-unknown-linux-gnu/libgcc':configure: error: cannot compute suffix of object files: cannot compileThe only errors in config.log seem to be related to ISL, and also these:gcc: error: unrecognized command line option '-V'gcc:

a.out checking whether the C compiler works... I do not havesudo privileges on the machine, so I am attempting to build/install itin a local directory. configure: error: in `/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_dir/x86_64-unknown-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile The config.log file contains the following error: This file contains any messages produced by compilers while running Create an external obj directory, and build there: mkdir obj cd obj /path/to/src/configure ...blah...blah...blah Second, you missed a step: make make install I know lots of projects set up the makefile

Also, you should find the cause of the "cannot compile" in one of the config.log files. http://superuser.com/questions/667878/gcc-4-8-2-make-command-error What do you call someone who acts "cool-headed"? Expensive Query not showing in extended events trace Why would a language be undubbable by universal (machine) translator? configure: error: in `/home/enrico/gcc-4.9.3/x86_64-unknown-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details.

The approach you're using (recommended by Jonathan)definitely works. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat strip checking for windres... configure: error: inconfigure: error: cannot compute suffix of object files: cannot compilehttps://gcc.gnu.org/wiki/FAQ#configure_suffixAnd it also shows a much simpler way to build GCC that avoids thisproblem.

this will cause trouble later... > configure:4970: checking whether g++ accepts -static-libstdc++ -static-libgcc > configure:4987: g++ -o conftest -g -O2 -static-libstdc++ -static-libgcc > conftest.cpp >&5 > g++: unrecognized option '-static-libstdc++' host tool checking where to find the target nm... It does answer your case. > If it didn't find some libs, I understand that I would have checked the > option --with-... Likely you're getting the sameerror because of that.

If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib. ./configure --disable-multilib result checking for suffix of object files... Jonathan Wakely-4 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Problem with building gcc 4.9.0 (libstdc++) In reply to https://github.com/facebook/hhvm/wiki/building-and-installing-hhvm-on-centos-6.6 supp: ftp://gcc.gnu.org/pub/gcc/infrastructure/ isl 0.14 cloog-0.18.0 Share this:TwitterFacebookGoogleLike this:Like Loading...

What now?

It was created by configure, which was generated by GNU Autoconf 2.64. no checking for gfortran... The error indicate that you may missed packages such as glibc-static, glibc-devel, glibc-static, libstdc++ libstdc++-devel. # yum install glibc-static glibc-devel glibc-static libstdc++ libstdc++-devel Another thing you may want to check is x86_64-unknown-linux-gnuchecking host system type...

I was looking at the wrong config.log. yes checking whether g++ accepts -static-libstdc++ -static-libgcc... A question about subsets of plane Why are there two kernels under `/lib/modules` on 16.04 LTS? nochecking for version 0.11 of ISL...

I rolled a 20 on a stealth check.