C++Guns – RoboBlog blogging the bot

06.03.2025

Installing gcc, g++ and gfortran 14 from source

Filed under: Allgemein — Thomas @ 13:03

GCC 14.2

wget https://ftp.gwdg.de/pub/misc/gcc/releases/gcc-14.2.0/gcc-14.2.0.tar.gz
tar xzf gcc-14.2.0.tar.gz 
cd gcc-14.2.0/
./contrib/download_prerequisites
mkdir build
cd build
### --disable-nls       disable Native Language Support (NLS)
### --disable-multilib  build a 64-bit-only compile
../configure --prefix=/home/thomas/opt/gcc-14.2 --enable-threads --enable-languages=c,c++,fortran --disable-nls  --disable-multilib
make -j 8 # took 40-50min
make install

New options:

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress