gcc for modelsim 10.0c (problem with systemc simulation)

Status
Not open for further replies.

spman

Advanced Member level 4
Joined
Aug 15, 2010
Messages
113
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Visit site
Activity points
2,061
Hi

I want to do simulation for systemc with modelsim. Version of my modelsim is SE 10.0c.
At first I got this error :
# ** Error: (sccom-95) Your installation directory does not contain the appropriate GNU C++ compiler. Download and install the tarball from the ftp site (gcc-4.2.1-mingw32vc9.zip).
So I searched for the file (gcc-4.2.1-mingw32vc9.zip) and didn't find it.
Then I found gcc 4.2.1 at https://sourceforge.net/projects/mi...Version4/Previous Testing_ gcc-4.2.1-sjlj -2/ and downloaded gcc-core-4.2.1-sjlj-2.tar.gz and gcc-g++-4.2.1-sjlj-2.tar.gz and extracted their contents into the folder gcc-4.2.1-mingw32vc9 in the modelsim directory.

Now I don't get that error and compilation is started. But too many other errors are occurred! It seems errors are about finding functions, headers and libraries...
some of errors:

I run the example in C:\modeltech_10.0c\examples\systemc\sc

What should I do?

Thanks in advance
 

Does anyone have gcc-4.2.1-mingw32vc9.zip or any link to it ? Perhaps this file solve the problem.
 

That's indeed what I meant. Well, so much for that plan. Did you find any ming flavored gcc there? Because if not either you have to search harder or they removed it. Because I'm pretty sure that in the past they had it for download on the ftp. In fact for 10.0c it should just be there. So I suggest you search harder. ;-) It should be named something like modelsim*-gcc-*-ming*.zip

So I guess you should be looking for a filename like "modelsim*-gcc-4.2.1-mingw32vc9.zip".
 

No! Unfortunately I couldn't find anything about gcc !
How about the gcc I found at sourceforge.net ? Anyway to utilize that?
 

Finally... Bless 4shared

**broken link removed**
 

No! Unfortunately I couldn't find anything about gcc !
How about the gcc I found at sourceforge.net ? Anyway to utilize that?

That's strange... What was the full ftp path where you looked? With full path I mean the directory on the ftp server as well. Because that ming zip should be right next to all the other modelsim 10.0c downloadable files. But oh well, you have found some other solution.

Mainly for other victims: gcc on sourceforge, could be, never tested it. The main reason why I'd stick with the modelsim provided one is that maybe they put in some additional files. And if your modelsim fails THEN ... you never know if it's because your installation skills are crap or just because you are missing that 1 magic file. So there's too much potential for wasting time there.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…