Updated gcc commands

This commit is contained in:
York Jasper Niebuhr 2025-10-24 14:27:36 +02:00
parent 471406457f
commit 4ef236bc83

View File

@ -10,3 +10,18 @@ make all-target-libstdc++-v3 -j8
git log git log
git format-patch -1 <hash> git format-patch -1 <hash>
python3 contrib/check_GNU_style.py gcc_component_ref.patch python3 contrib/check_GNU_style.py gcc_component_ref.patch
Build and install:
../gcc/configure --enable-host-shared --prefix=/usr/local/gcc-16 --program-suffix=16 --enable-languages=c,c++ --enable-plugin --disable-multilib --disable-werror --disable-bootstrap --disable-libsanitizer --disable-libquadmath --disable-libvtv
make -j8
sudo make install
sudo ln -s /usr/local/gcc-16/bin/gcc16 /usr/local/bin/gcc-16
sudo ln -s /usr/local/gcc-16/bin/g++16 /usr/local/bin/g++-16