Desktop Installation: Difference between revisions
No edit summary |
m (Text replace - 'For Evaluators...' to 'Sandbox & Training') |
||
Line 112: | Line 112: | ||
[[Category:Deployment]] | [[Category:Deployment]] | ||
[[Category: | [[Category:Sandbox & Training]] |
Revision as of 17:13, 4 September 2009
To perform a Sandbox Evaluation, you need to install the following packages on your PC. Each STRIDE Framework package is distributed as a compressed archive; installing the package consists of decompressing the archive to your local disk.
- STRIDE SDK
- STRIDE runtime, and build resources targeting the host operating system (Windows or Linux)
- STRIDE Samples
- Sample tests
- STRIDE BuildTools
- Executables that augment the build process, providing automatic test harness generation from source files
- STRIDE HostTools
- The STRIDE test runner application
SDK (includes STRIDE Runtime)
The SDK is intended to be used primarily as an off-target evaluation or development sandbox. This allows you to use STRIDE in a small, controlled environment without needing to make changes to your target build.
For more information, see Sandbox Evaluation.
Installation
SDKs are distributed as zip archives. To install, run an unzipping utility, maintaining the directory structure of the archived files. We recommend that you create a parent directory named "stride" into which you upzip the archive.
Linux
The following installation example assumes that the SDK archive is located in your home directory and that the directory ~/stride exists. The version numbers in your archive file name may be different than those shown in the example.
cd ~/stride unzip ../STRIDE4.1_sdk-linux_4.1.xx.zip
Once unzipped, files will have been installed under ~/stride/SDK.
Windows
The following installation example assumes the the SDK archive is located in your root directory and that the directory \stride exists. The version numbers in your archive file name may be different than those shown in the example.
The example uses the open source 7-Zip utility to unzip the archive.
cd \stride "\Program Files\7-Zip\7z" x ..\STRIDE4.1_sdk-windows_4.1.xx.zip
Once unzipped, files will have been installed under \stride\SDK.
Samples
The Test Unit samples are a collection of source code that demonstrates the techniques for creating and executing test code on a target application, in both C and C++ development environments.
For more information, see Test Unit Samples.
Installation
The Test Unit samples are distributed as a zip archive. To install, run an unzipping utility, maintaining the directory structure of the archived files. We recommend that you unzip the archive into a parent directory named "stride".
Linux
The following installation example assumes that the Samples archive is located in your home directory and that the directory ~/stride exists. The version numbers in your archive file name may be different than those shown in the example.
cd ~/stride unzip ../STRIDE4.1_samples_4.1.xx.zip
Once unzipped, files will have been installed under ~/stride/Samples.
Windows
The following installation example assumes the the Samples archive is located in your root directory and that the directory \stride exists. The version numbers in your archive file name may be different than those shown in the example.
The example uses the open source 7-Zip utility to unzip the archive.
cd \stride "\Program Files\7-Zip\7z" x ..\STRIDE4.1_samples_4.1.xx.zip
Once unzipped, files will have been installed under \stride\Samples.
Build Tools
The STRIDE Build Tools are a set of command line utilities that perform the Stride compile/build process as part of your target build.
For more information, see Build Tools.
Installation
The build tools are distributed as zip archives on Windows and tgz archives on Linux. To install, run the appropriate decompression utility. It's recommended that these files be placed in a location that is on your PATH as they are run as part of an application build.
Linux
The following installation example assumes that the build tools archive is located in your home directory and that the directory ~/stride/bin exists. The version numbers in your archive file name may be different than those shown in the example.
cd ~/stride/bin tar xvzf ~/STRIDE4.1_buildtools-linux-gcc41_4.1.xx.tgz
Windows
The following installation example assumes the the build tools archive is located in your root directory and that the directory \stride\bin exists. The version numbers in your archive file name may be different than those shown in the example.
The example uses the open source 7-Zip utility to unzip the archive.
cd \stride\bin "\Program Files\7-Zip\7z" x \STRIDE4.1_buildtools-windows_4.1.xx.zip
Host Tools
The Host Tools package includes stride, the program you run on your host computer to run STRIDE tests on your target.
For more information, see stride.
Installation
The host tools package is distributed as a zip archive on Windows and a tgz archive on Linux. To install, run the appropriate decompression utility. It's recommended that these files be placed in a location that is on your PATH.
Linux
The following installation example assumes that the host tools archive is located in your home directory and that the directory ~/stride/bin exists. The version numbers in your archive file name may be different than those shown in the example.
cd ~/stride/bin tar xvzf ~/STRIDE4.1_hosttools-linux-gcc41_4.1.xx.tgz
Windows
The following installation example assumes the the host tools archive is located in your root directory and that the directory \stride\bin exists. The version numbers in your archive file name may be different than those shown in the example.
The example uses the open source 7-Zip utility to unzip the archive.
cd \stride\bin "\Program Files\7-Zip\7z" x \STRIDE4.1_hosttools-windows_4.1.xx.zip