| Red Hat Docs > Manuals > GNUPro Toolkit Manuals > |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This chapter describes how to install GNUPro Toolkit for GNUPro microarchitecture.
The GNUPro installation provides a complete, supported toolset for use in
software development. As an aid to our customers, a contributed
package with many useful, albiet unsupported tools is also included.
/opt/redhat/release_name for UNIX operating systems and
C:\RedHat\release_name for Windows operating systems.
Release_name is a unique identifier which means the same sources were
used to build the files contained within. All GNUPro releases employ a
uniform directory structure, allowing multiple host architectures to coexist
in the same installation prefix.}
For detailed installation information, see either:
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section describes how to install GNUPro Toolkit from CD on both UNIX and Windows systems. Be sure that you are familiar with the naming conventions for the tools as descrbed in Host Configurations, and Embedded Cross-configurations.
/cdrom/gnupro-03r1 (the default
directory in which you will mount the tools); host designates
what you need to specify as your host type in using the binaries for the
particular architecture, vendor, and operating system.
The procedures for mounting a CD depend on your system type. The
following examples of mount commands use default configurations;
consult your system administrator if you need assistance.
As root, enter the following command (the command assumes that the CD-ROM drive is available as `/dev/cdrom'):
mount -t iso9660 /dev/cdrom /mnt/cdrom |
If you are not running the volume manager, as root mount the CD manually with the following command:
mount -F hsfs -o ro /dev/dsk/c0t6d0s0 / |
HP-UX systems will automatically mount newly inserted CDs as `/cdrom';
To install using the GUI installer:
Upon CD insertion, the Installation program should start up at once. If the autorun feature has been disabled and the Installer does not start up at once, do the following:
Open the My Computer icon on the Windows Desktop. Double click the CD-ROM Icon. Double click the install-gui Red Hat Shadowman logo to start the installer |
First, set the DISPLAY environment variable. This variable may
already be set if you're using the X11 Windowing System. If you are not
certain if or how to set this variable, consult your system administrator.
Start the installation program (substitute the path prefix according to where the CD media has been mounted):
/mnt/cdrom/install-gui |
Once loaded, the Installer will provide the option to Browse available packages, or just Install the release. Select Install.
The next screen will provide several different installation options. These options may include Typical Installation, Typical+SysRoot, Full Installation, or Customized Installation.
Typical Installation
Selecting a Typical Installation will install all the packages required for a fully functional GNUPro development environment. The following packages are installed with a Typical Installation:
Typical Installation is recommended for first time and new users.
Typical Installation Plus Sys-Root
This option is only available on Red Hat Linux systems when installing native tools. In addition to the typical installation, this option will install a Red Hat Linux System Root.
A System Root is a copy of the standard headers and libraries found on a native Operating System. Installing a System Root allows developers to use different version of Linux, than the target environment for their software. This allows developers to use more modern versions of Linux, but create executables that will work on older versions.
Full Installation
Selecting Full Installation will install all of the GNUPro packages; these include all the packages listed in the Typical Installation plus the following:
Customized Installation
Selected Customized Installation will enable you to select which packages you would like installed.
By default, Windows systems use C:\RedHat and Unix systems use
/opt/redhat. Windows systems will also create a Cygwin mount
table such that the installation directory maps to /opt/redhat
for greater compatibility (unless the Configure Mount Table option was
specifically deselected during the previous step).
Accept the default or enter a different directory name to use. The installer will create new directories for you, if necessary. Please consult with your local System Administrator if you require assistance with where to install.
Installation Complete |
To accommodate binaries for multiple hosts in a single directory
structure, the binary files for your particular host type are in the
H-host/bin subdirectory (see Host Configurations, for
specific host triplet names.)
ln -s installdir/gnupro-03r1/H-host/bin \
installdir/H-host/bin
|
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
PATH Environment Variable
On Windows systems, the default installation will automatically set
the PATH environment variable and the tools will be available at the
next login.
On Unix systems, the PATH environment variable needs to be set to
point to the executables just installed. PATHs can be updated on a
system-wide basis by your System Administrator, or on an individual basis
by editing your login shell scripts. Please consult the man page for your
login shell for information on how to permenantly update your PATH
The following examples demonstrate how to update your path as a
one-time update. If you installed into a different directory, substitute
installdir for the actual directory. For host,
@xref{Naming hosts with their canonical names}, for naming conventions.
The following examples show how to create the final linking to the
installdir/H-host/bin directory.
/bin/sh, bash, or Korn shell):
PATH=installdir/H-host/bin:$PATH ; export PATH |
set path=(installdir/H-host/bin $path) |
Contributed Binaries On Unix Systems:
When the Contributed Binaries package is installed, an additional PATH setting is required to use these tools. Contributed binaries are only created for the baseline of each major OS, but work on subsequent revisions.
/opt/redhat/gnupro/contrib/H-i686-pc-linux-gnulibc2.3/bin
/opt/redhat/gnupro/contrib/H-sparc-sun-solaris2.6/bin
/opt/redhat/gnupro/contrib/H-hppa1.1-hp-hpux10.20/bin
/opt/redhat/gnupro/contrib/H-powerpc-ibm-aix4.3.3.0/bin
make in GNUPro Development
Tools.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Please examine See How to Report Problems, then move on to See Basic Principles of the Tools.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Make sure when getting files from the FTP server that you download everything to ensure no instructions or important files are missing. Releases made available via FTP are typically available for at least 30 following the availability announcement.
After completing the installation process, see Set Environment Variables.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
After installing the software and before using the tools, you must use a UNIX shell (for example, bash(4)) to set environment variables(5).
bash
command from an MS-DOS shell window; typing bash after the
C:\> prompt, you get a bash-2.05b$ prompt.
Use the following examples, replacing installdir with your
installation directory, release_name with the name you received
with an announcement of the availability of the tools. Replace
H-host with H-i686-pc-cygwin (where i686-pc-cygwin
is a triplet name).
SET PROOT=C:\installdir\release_name SET INFOPATH=%PROOT%\info REM Set TMPDIR to point to a ramdisk if you have one SET TMPDIR=%PROOT% REM Below only necessary if the path hasn't been previously set REM SET PATH=%PROOT%\H-host\BIN;%PATH% |
See also Rebuild Tools, for getting the tools when compiling on other machines.
H-sparc-sun-solaris2.6 for Sun
Solaris and H-i686-pc-linux-gnulibc2.2 for Red Hat Linux 7.0,
7.1, and 7.2 versions.
/bin/sh, bash, or
Korn shell), use the following example's input:
PROOT=installdir/release_name INFOPATH=$PROOT/info SID_EXEC_PREFIX=$PROOT PATH=$PROOT/H-host/bin:$PATH export PATH SID_EXEC_PREFIX INFOPATH |
set PROOT=installdir/release_name set path=($PROOT/H-host/bin $path) setenv SID_EXEC_PREFIX $PROOT setenv INFOPATH $PROOT/info |
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |