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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -