Ford's Garage

Small garage of one Ford in the big internet


How to set GCC default version



VERSION=12
PRIORITY=120
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-$VERSION $PRIORITY --slave /usr/bin/g++ g++ /usr/bin/g++-$VERSION
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-$VERSION $PRIORITY