I am running Karmic but would like to update GCC etc. to Lucid. Can this be done and if yes, how?
I would recommend to use new GCC along your existing, not upgrading it. You can find a required deb package or download binaries googling it.
Upgrading your default compiler can do a lot of harm to Your system.