Howto "updating gcc"¶
- extract the new gcc somewhere
cd ~/tmp; tar xjf ~/gcc-core-x.x.x.tar.bz2
- have a clean clone of zeta-gcc, positionned on the 'vendor' branch. Best way is to just clone it.
hg up -r vendor
hg st # should output nothing
- update the gcc source
rm * -Rf
cp -a ~/tmp/gcc-core-x.x.x/* .
hg ci # "gcc-x.x.x" as comment
- go back to the main branch
hg up -r default
hg merge -r vendor # and fix problems if any
- test compilation
make re # use our own top Makefile
- test (from the main zeta repository)
hg ci # "merge with vendor (gcc-x.x.x)"