Updated .gitignore.
Added logging to the install-gcc script.