Originally Posted by dirshah
I tried to download rpm files for gcc but they dont exist for Suse 10.
I'm sure that is incorrect. Maybe you don't know the correct name for them. Maybe you aren't connected to the correct repository. I don't know Suse well enough to give you details.
If you still need help, you should edit the title of your thread to mention Suse, so you will get attention from people who do know the details. (Edit first post of the thread, click the Advanced
button, then edit the title).
The non detailed answer is that you should not try to install GCC from source nor from any other generic (not specific to Suse) form from gcc.gnu.org
You should install GCC using your package manager (Yast or equivalent).
Excuse this ignorance of SUSE, but are you using a distribution that normally requires paid support? If so have you paid for support? If you haven't paid for support, does that fact exclude you from access to the correct repositories?
There is no reason to try to struggle around repository issues with an unpaid copy of a distribution for which payment expected. There are plenty of completely free Linux distributions. If you don't want to pay for support, start over with a distribution that is not set up on the assumption that you will pay for support.
Obviously if you did pay for support, you have someone to ask about how to connect to the right repository so that installing GCC will be easy.