ARM Technical Support Knowledge Articles

Where are the built scripts (*.bat and *.sh) for the SystemC example?

Applies to: Fast Models

Answer

In releases of the Fast Model prior to 5.1, the SystemC example systems contained a number of build scripts for both Windows and Linux:

build_Windows-Debug-VC2005.bat
build_Windows-Debug-VC2008.bat
build_Windows-Release-VC2005.bat
build_Windows-Release-VC2008.bat
build_Linux-Release.sh
build_Linux-Debug.sh

The purpose of these scripts were two folder:

  1. Build the EVS by calling simgen
  2. Build SystemC executable by either calling Visual Studio or make depending on OS used

This functionality has been combined together into the Fast Model project (*.sgproj) so that when the project is built (from the canvas or command line) when the EVS is built successfully the tool will invoke the corresponding compiler automatically to build the SystemC executable.

Fast Model project achieves this by making use of the POST_BUILD_EVENT project attribute within the sgproj file, for example:

POST_BUILD_EVENT = "make -C .. -f Makefile"

or

POST_BUILD_EVENT = "%DEVENV% ..\\Dhrystone2-VC2008.vcproj /build Release

Article last edited on: 2009-10-06 11:58:40

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential