![]() |
|
||||
LynxOS Installation Guide |
Installing LynxOS Cross Development Systems
Introduction
This chapter describes how to install the LynxOS cross development system software components.
A cross development system consists of a host computer, where the LynxOS cross development software components are installed for target system development. The target system is where the software is deployed.
The LynxOS cross development software can be installed on the following host operating systems:
Refer to the LynxOS Release Notes for the latest supported versions of these Operating Systems.
Cross Development Core Software Components
The two core LynxOS cross development software components are:
- The LynxOS Cross Development Kit (CDK) - includes the GNU toolchain and all other development tools.
- The LynxOS Open Development Environment (ODE) - includes the LynxOS system files and Board Support Package (BSP) for a target board.
Installation of these core components are required for the LynxOS cross development system. Additional components can also be added to increase feature functionality.
For UNIX cross development hosts, the LynxOS CDK component must be installed first, followed by the ODE component.
This is important to note because installation of these components is different on Windows hosts:
- For UNIX cross development systems, the CDK and the ODE software components are installed from two separate CD-ROMs.
- For Windows cross development systems, both the CDK and the ODE software components are installed simultaneously from the same
CD-ROM.
UNIX Cross Development Installation
Use the following instructions to install the LynxOS cross development environment on the host. Installing the LynxOS CDK requires root privileges.
It is important to note that the LynxOS CDK package must be installed before the LynxOS ODE package. Failure to install these components in the correct order can result in problems with LynxOS.
Where <release_num> is the LynxOS product release number and <target> is the host CPU architecture, for example: x86 or ppc.
# mkdir /usr/lynx/4.0.0/ppc
The LynxOS CDK tools searches for all libraries and tools under the directory /usr/lynx/<release_num>/<target>.
Where <cdrom_dev_node> is the CD-ROM device node name. Refer to the mount man page for additional usage options.
- Extract the LynxOS CDK tar files using gnutar. Enter the following commands to move to the installation directory and extract the tar files:
In the command above, <release_num> is the LynxOS product release number, <target> is the CPU architecture (x86, or ppc) and <host> is the host Operating Sysetm, for example:
gnutar can be copied from the LynxOS CDK CD-ROM to a cross development system with the cp command. For example,
- Unmount the LynxOS CDK and remove it from the CD-ROM drive.
- Insert the LynxOS ODE CD-ROM into the CD-ROM drive and mount it.
- Change directory to the LynxOS installation directory:
where <release_num> represents the LynxOS product release number and <target> is the CPU architecture of the system (x86 or ppc).
- Extract the ODE images by entering the following commands (assuming the CD-ROM mount point is /mnt/cdrom):
Where media_num is a LynuxWorks-assigned unique number, and bsp_name is the BSP name. Refer to LynxOS Release Notes for BSP names.
- Unmount and remove the CD-ROM.
- Before using LynxOS to develop applications, users must set the LynxOS environment with one of two SETUP scripts:
For more information on these SETUP scripts, see the chapter entitled "Getting Started" in the LynxOS User's Guide.
This completes the LynxOS core installation for UNIX cross hosts.
Once installed, the LynxOS ODE for UNIX-hosted cross development systems provides users with the LynxOS libraries, utilities, kernel objects, and other files necessary for developing LynxOS applications.
See the chapter entitled "Getting Started" in the LynxOS User's Guide for information on using LynxOS.
The host system is now ready to develop target applications. However, several optional software components are available to enhance target application development. To install these onto the host system, refer to "Optional Software Installation for UNIX" below.
Optional Software Installation for UNIX
Additional components can be installed after the LynxOS ODE installation is complete. Some additional components include:
To install any or all of these additional components on a UNIX-hosted system, use the following instructions:
- Mount the Additional Components CD-ROM to /mnt/cdrom. Refer to the Linux or Solaris documentation for instructions. For Linux hosts, for example:
Where <cdrom_dev_node> is the CD-ROM device node name. Refer to the mount man page for additional usage options.
where <release_num> is the LynxOS release number and <cpu> is the target system architecture.
Additional tools, such as LynxInsure++, TotalView, or SpyKer include separate documentation that describes their installation procedure.
Windows Cross Development Installation
The LynxOS cross development kit for Windows contains the CDK and ODE software components on the same CD-ROM. These components are installed at the same time during the InstallShield installation.
In addition to the cross development software, the Windows CDK also contains the LynxOS BSP and system files.
Windows CDK/ODE Installation
The LynxOS CDK CD-ROM for Windows contains all components necessary for setting up a cross development host, including both CDK and ODE components.
To install these components, use the following instructions.
- Close all programs.
- Insert the LynxOS CDK CD-ROM into the CD-ROM drive.
- When InstallShield starts, follow the instructions as appropriate.
If Windows Autorun is not enabled, users can start the setup process by double-clicking on the setup.exe icon in the CD-ROM directory.
- Select the appropriate option and proceed through the installation as instructed by the Installshield process.
Updating the PATH Environment Variable
The PATH variable must be updated before the user can start the bash shell and use LynxOS command line utilities. The CYGWIN binary path must be added to the PATH environment variable.
Adding a Bash Prompt Shortcut to the Desktop
Users can create a shortcut on the desktop that starts the bash prompt, changes to the LynxOS directory and starts the LynxOS environment. Use the following instructions to create a shortcut.
- Right-click on desktop and select New -> Shortcut.
- Type in the path to the bash.exe executable in the Location of item field. For example,
- Type in a shortcut name, LynxOS CDK, for example, and click Finish.
- Right-click on the LynxOS CDK shortcut and select Properties.
- In the Shortcut tab, modify the Target field to automatically execute the SETUP.bash or SETUP.csh script:
Additional Components Installation on Windows
The Additional Components CD-ROM contains utilities that are installed after the LynxOS ODE installation is complete. This CD-ROM includes these utilities:
To install any or all of these additional components, use the following instructions:
Where <release_num> is the LynxOS release number and <cpu> is the target system architecture.
Additional tools, such as LynxInsure++, TotalView, or SpyKer include separate documentation that describes their installation procedures.
![]() LynuxWorks, Inc. 855 Branham Lane East San Jose, CA 95138 http://www.lynuxworks.com 1.800.255.5969 |
![]() |
![]() |
![]() |
![]() |