Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to configure gcc/g++ compiler in modelsim

Status
Not open for further replies.

fanqimeng

Newbie level 3
Joined
Mar 25, 2007
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,312
modelsim gcc

hello, i got a problem recently. i use modelsim 6.0a before to do systemc work and it was ok. but recently i updated the modelsim to 6.2c version and it has problem.

when i run sccom command. it says:

# ** Error: (sccom-95) Your installation directory does not contain the appropriate GNU C++ compiler. Download and install the tarball from the ftp site (gcc-3.3.1-mingw32.tar.gz).

that means gcc compiler is not correctly configured. i really don't know how to deal with it. can anyone help me on this issue please? thanks very much.
 

You must use a compatible C++ compiler that works with the version of modelsim that you have. C++ has limitations in the versions of compilers that it can link code together. See section SystemC Simulation > Supported Platforms and Compiler Versions in the user manual for a list of supported versions. You can download the appropriate GCC compile from here: https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/
 

Sir,
I was using Modelsim for VHDl. Recently came to know that it supports systemc. I am new to it(Model Sim SE (6.3f)). Gcc compiler supported by windows 7 is not mentioned in user manual that i have.
I haven't given any systemC path yet. Please tell if it's required or systemc library exists already with the package.
Please help.

I am usig gcc 4.6.1. Following error occurs as i try to compile systemc code.


Error: (sccom-92) Detected improperly formed CppPath variable in modelsim.ini. (C:/FlexLm/examples/work/MinGW/bin/g++.exe) Point directly at a compiler executable, such as /usr/bin/g++
 
Last edited:

You are using a very old version of Modelsim released before Windows 7 was available; that version required gcc 3.3.1. SystemC support with Modelsim SE is an available option you would need to have as well.
 

My version supports systemC. Link for gcc that you have provided doesn't contain gcc 3.3.1. Can you please give download link for this version ?
 

Try gcc 3.3.3. and see if that works. Otherwise you will have to get a newer version of Modelsim, especially if you plan to do a lot more work in SystemC.
 

Hi,

I have the same problem: when trying to compile systemc code, modelsim cannot find the g++ exe. My modelsim version is 6.5b and i have used the gcc version offered by the vendor for 6.5b. Still i get an error like this:

Error: (sccom-6134) Can't find g++.exe in directory C:\modeltech_6.5b\gcc-4.2.1-mingw32/bin. Check the integrity of your compiler installation

Please advice how to correct it because the seems to be no clue in any other forum!

Thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top