From RTSC-Pedia
[printable version] | offline version generated on 04-Aug-2010 21:08 UTC |
RTSC Packaging Primer/Lesson 0
Getting started installing examples and tools
The steps outlined here will enable you to "play-along" as we work through a series of RTSC programming examples introduced in the lessons that follow. If you'd prefer to just read through the lessons right now, no problemwe've designed the material with that in mind. You might, however, consider quickly unpacking the examples for easy reference, even if you don't plan to build and run any programs at this time.
Contents |
Unpacking the examples
You'll find the examples here, distributed as a single .zip file which you should extract into a (new) directory of your choicea directory we'll logically refer to as %examples% in the material that follows. If you're operating in "read-only" mode for now, proceed onward to Lesson 1.
Downloading the XDCtools product
To build and run the examples, you'll need to download and install the XDCtools product found here; or, if you've already installed XDCtools on your system, verify that you're working with version 3.15 or higher. Either way, we'll logically refer to the installation directory for the XDCtools product as %xdcroot% in the material that follows.
Locating some C compilers
For instructional purposes, we'll be working with two different C compiler tool-chains:
- Texas Instruments C6000 Code Generation Tools version 6.0.15
- Windows-hosted developers can download this version of the compiler from here; Linux-hosted developers can download this version of the compiler from here. Either way, «c6xtools» will refer to the installation directory for this compiler in the material that follows.
If you haven't already done so, you'll need to register for a free account with Texas Instruments.
- GCC version 3.4.5 for Windows, version 4.1 for Linux
- For Windows-hosted developers, we'll be using MinGWa Minimal port of the GNU tool-chain for Windows which contains GCC (the GNU Compiler Collection) and which you can download using the MinGW installer found here; «gcctools» will refer to the installation directory for MinGW in the material that follows. Be sure to check the g++ box on the installer's optional components menu; otherwise, you can simply accept the defaults given.
- For Linux-hosted developers, you already have GCC installed on your system and «gcctools» will refer to its base directory; just verify that you have version GCC 4.1 (or later).
See also
XDCtools Installation Guide | How to install the XDCtools product |
Using XDCtools Commands | Setting up your development environment |
[printable version] | offline version generated on 04-Aug-2010 21:08 UTC |