The SDK installs files into a number of different directories
depending on the host platform and file type. This section describes the SDK
standards for directories to help you understand where to find the parts of
the SDK and how to best use the SDK development environment.
The root directory for the SDK is
/opt/cell.
Most of the SDK files are in this directory. There are three exceptions:
- /usr follows the Linux® filesystem hierarchy standard (FHS), except for
prototype-level code which is placed in the /opt/cell/sdk/prototype/usr directory.
In some cases, subdirectories are used to store individual components under include, lib or lib64.
- /opt/ibm/systemsim-cell contains the IBM® Full System Simulator for Cell Broadband Engine Architecture (Fedora 7 only).
- /opt/ibmcmp contains the IBM XL C/C++ Alpha Edition for Multicore
Acceleration compiler.
There are three main directories under
/opt/cell:
- sdk contains the SDK files.
- sysroot contains a fakeroot used for cross compilation on
X86 and X86_64 architecture systems. There are directories under the /opt/cell/sysroot directory
that mirror either a native host system (such as /usr) or mirror the
SDK /opt/cell/sdk directory.
- toolchain contains the GCC toolchain.
There are various subdirectories for parts of the SDK under
the
/opt/cell/sdk directory:
- docs contains the SDK documentation.
- prototype contains level 1 components. This is a separate directory
to clearly distinguish those parts of the SDK that might change in a future
release. Subdirectories of /opt/cell/sdk/prototype are similar to peer
directories, for example there are doc, src, and usr directories
below this directory.
- src contains source code such as examples.
- usr contains host-based tools.