RTEMS Logo

RTEMS 4.9.6 On-Line Library


Installing BINUTILS Without RPM

PREV UP NEXT Bookshelf Getting Started with RTEMS

4.2.6: Installing BINUTILS Without RPM

The following example illustrates the invocation of configure and make to build and install binutils-<version> sparc-rtems4.9 target:

mkdir b-binutils
cd b-binutils
../binutils-<VERSION>/configure --target=sparc-rtems4.9 \
  --prefix=/opt/rtems-4.9
make all
make info
make install

After binutils-<VERSION> is built and installed the build directory b-binutils may be removed.

For more information on the invocation of configure, please refer to the documentation for binutils-<VERSION> or invoke the binutils-VERSION> configure command with the --help option.

NOTE: The shell PATH variable needs to be updated to include the path the binutils user executables have been installed in. The directory containing the executables is the prefix used above with `bin' post-fixed.

export PATH=/opt/rtems-4.9/bin:${PATH}

Failure to have the binutils in the path will cause the GCC and NEWLIB build to fail with an error message similar to:

sparc-rtems4.9-ar: command not found


PREV UP NEXT Bookshelf Getting Started with RTEMS

Copyright © 1988-2008 OAR Corporation