Building error gcc-5.1.0 on ubuntu: -
got following error during building of gcc-5.1.0 on ubuntu:
checking int64_t underlying type... long long
configure: error: error verifying int64_t uses long long
the configuration was:
configure = ../../gcc-5.1.0/configure
opt = --program-suffix=-5.1.0 \ --prefix=/opt/gcc-5.1.0 \ --with-local-prefix=/opt/gcc-5.1.0 \ --enable-languages=c,c++ \ --enable-threads=posix \ --enable-__cxa_atexit \ --enable-c99 \ --enable-long-long \ --disable-shared \ --disable-multilib \
all: $(configure) $(opt)
can clarify how fix it?
googling error message comes this bug first result surmises error message caused trying build gcc
without c++ compiler.
to solve this, install c++ compiler first. on ubuntu try g++:
sudo apt-get install g++
Comments
Post a Comment