This has been done on Linux. At this time, the SPARC toolchain does not work on Windows.
The target is
sparc-elf. So, you have to build binutils and gcc for this target. First, build and install binutils. Then, compile gcc.
It has been tested with the following versions :
make all install
tar zxvf gcc….tgz)
../gcc-x.x.x/configure –enable-languages=c –target=sparc-elf –disable-nls –disable-libssp -C –without-headers –with-gnu-as –with-gnu-ld –with-newlib
makefor building gcc
make configurein the top directory of POK. If the toolchain is installed, it should print an appropriate message, showing that GCC and binutils for SPARC have been detected.