24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Supported platforms <strong>and</strong> compiler versions<br />

Supported platforms <strong>and</strong> compiler versions UM-161<br />

SystemC runs on a subset of <strong>ModelSim</strong> supported platforms. The table below shows the<br />

currently supported platforms <strong>and</strong> compiler versions:<br />

Platform Supported compiler versions<br />

HP-UX 11.0 or later aCC 3.45 with associated patches<br />

RedHat Linux 7.2 <strong>and</strong> 7.3<br />

RedHat Linux Enterprise version 2.1<br />

Building gcc with custom configuration options<br />

gcc 3.2.3<br />

SunOS 5.6 or later gcc 3.2<br />

Windows NT <strong>and</strong> other NT-based<br />

platforms (win2K, XP, etc.)<br />

Minimalist GNU for Windows<br />

(MinGW) gcc 3.2.3<br />

Important: <strong>ModelSim</strong> SystemC has been tested with the gcc versions available from<br />

ftp.model.com/pub/gcc. Customized versions of gcc may cause problems. We strongly<br />

encourage you to download <strong>and</strong> use the gcc versions available on our FTP site (login as<br />

anonymous).<br />

We only test with our default options. If you use advanced gcc configuration options, we<br />

cannot guarantee that <strong>ModelSim</strong> will work with those options.<br />

To use a custom gcc build, set the CppPath variable in the modelsim.ini file. This variable<br />

specifies the pathname to the compiler binary you intend to use.<br />

When using a custom gcc, <strong>ModelSim</strong> requires that the custom gcc be built with several<br />

specific configuration options. These vary on a per-platform basis as shown in the<br />

following table:<br />

Platform M<strong>and</strong>atory configuration options<br />

Linux none<br />

Solaris --with-gnu-ld --with-ld=/path/to/binutils-2.14/bin/ld --with-gnu-as<br />

--with-as=/path/to/binutils-2.14/bin/as<br />

HP-UX N/A<br />

Win32 (MinGW) --with-gnu-ld --with-gnu-as<br />

Do NOT build with the --enable-sjlj-exceptions option, as it can cause<br />

problems with catching exceptions thrown from SC_THREAD <strong>and</strong><br />

SC_CTHREAD<br />

ld.exe <strong>and</strong> as.exe should be installed into the /bin before<br />

building gcc. ld <strong>and</strong> as are available in the binutils package. Modelsim<br />

uses binutils 2.13.90-20021006-2.<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!