An easier way to disable X is to run the command
telinit 3 as root. Once you are finished installing the drivers and editing
/etc/X11/xorg.conf, run
telinit 5 (again, as root) to start X again.
urpmi -y gcc will give you a list of all the available gcc packages. If you haven't done so already, you can set up some additional package sources with
Easy Urpmi. Once you have the list, choose the one you need and run
urpmi package_name. You must be root (su) to use urpmi.