I tried to install gcc on SUSE Enterprise Server 12 SP4 with the following command:

zypper install gcc
I got the following output:

Problem: nothing provides gcc48 needed by gcc-4.8-6.38.aarch64
Solution 1: do not install gcc-4.8-6.38.aarch64
Solution 2: break gcc-4.8-6.38.aarch64 by ignoring some of its dependencies
Even after selecting solution 2, gcc can't be used.

I used the same command on SUSE 15 and it worked well.

How can I install gcc on SUSE 12 SP4?

Please advise.