Got the following error during the building of gcc-5.1.0 on ubuntu:
checking for 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 anybody clarify how to fix it?
Googling the error message comes up with this bug as the first result that surmises that the error message is caused by trying to build gcc
without a C++ compiler.
To solve this, install a C++ compiler first. On Ubuntu you could try G++:
sudo apt-get install g++
Ok. The problem was the following:
the command g++ was not avaliable.
Fixed by additional installation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With