RTEMS Logo

RTEMS 4.9.5 On-Line Library


Building BINUTILS using RPM

PREV UP NEXT Bookshelf Getting Started with RTEMS

4.3.3: Building BINUTILS using RPM

This section illustrates the invocation of RPM to build a new, locally compiled, binutils binary RPM that matches the installed source RPM. This example assumes that all of the required source is installed.

rpm -U rtems-4.9-i386-rtems4.9-binutils-<VERSION>-<RPM_RELEASE>.src.rpm
cd <RPM_ROOT_DIRECTORY>/SPECS
rpm -bb i386-rtems4.9-binutils-<VERSION>.spec

If the build completes successfully, RPMS like the following will be generated in a build-host architecture specific subdirectory of the RPMS directory under the RPM root directory.

rtems-4.9-binutils-common-<VERSION>-<RPM_RELEASE>.<ARCH>.rpm
rtems-4.9-i386-rtems4.9-binutils-<VERSION>-<RPM_RELEASE>.<ARCH>.rpm

NOTE: It may be necessary to remove the build tree in the BUILD directory under the RPM root directory.


PREV UP NEXT Bookshelf Getting Started with RTEMS

Copyright © 1988-2008 OAR Corporation