Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Development Environment

Setup scripts for bash and tcsh are provided in the CTK DAT group space in /afs/slac.stanford.edu/g/cci/ to facilitate setting up your working environment. The scripts are setup.sh and setup.csh, and it must be source'd to update your environment.

...

If additional environmental set-up is desired that you deem is of interest to the group, feel free to add it to the script.

Build Environment

  • Currently, all tools are deployed on AFS
    • We use GNU tools set up for cross-compiling for the PowerPC architecture
    • As of 2011/03/24, these tools are installed under /afs/slac/g/cci/package/gnu/. See the setup.{sh,csh} files mentioned above for more information. This isn't actually true, gnu is a softlink to /reg/g/common...
  • The Cluster Computing Data Acquisition Toolkit (CTKDAT) uses SVN for configuration management:

Checking out the code from the repository

Checkout top level release directory (svn co $SVNROOT/release/trunk release) and cd into it.
This directory contains the Makefile infrastructure.

...

  • rce/ provides common infrastructure that should be re-usable for all software that runs on the RCE. It is like a C++ extension of the RTEMS BSP (e.g. network, thread wrappers, ethernet/PGP PIC drivers).
  • rceusr contains higher level code that can be reused (e.g. libraries to support a console application, or a particular use of PGP).
  • rceapp contains the highest level executables.

Building

There are several files of importance to building executables:

...