Question about CC compiler binaries

Hi all,

I am a newbie to the OpenSPARC project and I would like to try it out. I follow the setup instructions in the README file. I found that it requires CC compiler binaries; however, I don't have CC installed on my system. I do have gcc, g++ and cc (small letters) installed.

Because of that, when I run,

sims -sim_type=vcs -group=core1_mini -novera_build -novera_run

after 20min it returns,

All of 226 modules done

( cd csrc ; make -f Makefile CFLAGS= -D__svr4__ -O -I/nfs/tools/synopsys/syn2005/vcs-mx.X-2005.06/include \

LD=/usr/bin/CC CPP=CC DEFAULT_RUNTIME=TRUE product )

CC -D__svr4__ -O -I/nfs/tools/synopsys/syn2005/vcs-mx.X-2005.06/include -c /opensparc/v1.1.3/verif/env/iss/pli/main.cc

sh: CC: not found

*** Error code 1

make: Fatal error: Command failedfor target `main.o'

Make exited with status 1

CPU time: 876 seconds to compile + 0 seconds to link

sims: Caught a SIGDIE. failed building model at /opensparc/v1.1.3/tools/src/sims/sims,1.262 line 2019.

sims: Caught a SIGDIE. Could not build modelfor regression at /opensparc/v1.1.3/tools/src/sims/sims,1.262 line 1272.

I wonder:

1) Do I have to have CC install on my system? If so, where can I find the its binary?

2) If I can use another compiler (say, gcc/g++) instead of CC, I wonder what the instructions are to modify the simulation environment to support another compiler?

I am currently running on a SunOS 5.8 (SUNW,Ultra-4) and I have OpenSPARC v1.1.3

Thank you so much for your attention and I hope to have some hints to resolve this problem :)

Best regards,

Jackey W.

[1780 byte] By [jackeyw] at [2007-11-26 10:20:46]
# 1

You need CC (C++ Compiler), see following link to download

SunStudio compiler

http://developers.sun.com/prodtech/cc/products/get.html

Othre compilers like g++ may work, but not tested on SPARC/Solaris

system.

Looks like you are running Solaris 8, which is not tested with OpenSPARC.

Here are the system requirements from the OpenSPARC website :

System Requirements:

* SPARC CPU based system with Solaris 9 or Solaris 10 Operating System

* x86 CPU based system with Solaris 10/x86 or Red Hat Enterprise Linux 3/x86 Orating System

* C/C++ Compiler, if you don't have it download Sun Studio 11.

OpenSparc at 2007-7-7 2:19:33 > top of Java-index,Open Source Technologies,OpenSPARC...