Changeset 9e18bcb in rtems-docs


Ignore:
Timestamp:
01/10/19 11:52:24 (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
f95699b
Parents:
633a24f
git-author:
Sebastian Huber <sebastian.huber@…> (01/10/19 11:52:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/11/19 06:23:24)
Message:

rsb: Move "Why Build from Source?" to own chapter

Location:
rsb
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • rsb/index.rst

    r633a24f r9e18bcb  
    2929
    3030    source-builder
     31    why-build-from-source.rst
    3132    building-tools-and-rtems.rst
    3233    project-sets
  • rsb/source-builder.rst

    r633a24f r9e18bcb  
    7878   Build Failures`.
    7979
    80 Why Build from Source?
    81 ----------------------
    82 
    83 The RTEMS Source Builder is not a replacement for the binary install systems
    84 you have with commercial operating systems or open source operating system
    85 distributions. Those products and distributions are critically important and
    86 are the base that allows the RSB to work. The RTEMS Source Builder sits
    87 somewhere between you manually entering the commands to build a tool set and a
    88 tool such as ``yum`` or ``apt-get`` to install binary packages made
    89 specifically for your host operating system. Building manually or installing a
    90 binary package from a remote repository are valid and real alternatives. The
    91 RSB provides the specific service of repeatably being able to build tool sets
    92 from source code. The process leaves you with the source code used to build
    93 the tools and the ability to rebuilt it.
    94 
    95 If you are developing a system or product that has a long shelf life or is used
    96 in a critical piece of infrastructure that has a long life cycle being able to
    97 build from source is important. It insulates the project from the fast ever
    98 changing world of the host development machines. If your tool set is binary and
    99 you have lost the ability to build it you have lost a degree of control and
    100 flexibility open source gives you. Fast moving host environments are
    101 fantastic. We have powerful multi-core computers with huge amounts of memory
    102 and state of the art operating systems to run on them however the product or
    103 project you are part of may need to be maintained well past the life time of
    104 these host. Being able to build from source an important and critical part of
    105 this process because you can move to a newer host and create an equivalent tool
    106 set.
    107 
    108 Building from source provides you with control over the configuration of the
    109 package you are building. If all or the most important dependent parts are
    110 built from source you limit the exposure to host variations. For example the
    111 GNU C compiler (gcc) currently uses a number of 3rd party libraries internally
    112 (gmp, mpfr, etc). If your validated compiler generating code for your target
    113 processor is dynamically linked against the host's version of these libraries
    114 any change in the host's configuration may effect you. The changes the host's
    115 package management system makes may be perfectly reasonable in relation to the
    116 distribution being managed however this may not extend to you and your
    117 tools. Building your tools from source and controlling the specific version of
    118 these dependent parts means you are not exposing yourself to unexpected and
    119 often difficult to resolve problems. On the other side you need to make sure
    120 your tools build and work with newer versions of the host operating
    121 system. Given the stability of standards based libraries like ``libc`` and ever
    122 improving support for standard header file locations this task is becoming
    123 easier.
    124 
    125 The RTEMS Source Builder is designed to be audited and incorporated into a
    126 project's verification and validation process. If your project is developing
    127 critical applications that needs to be traced from source to executable code in
    128 the target, you need to also consider the tools and how to track them.
    129 
    130 If your IT department maintains all your computers and you do not have suitable
    131 rights to install binary packages, building from source lets you create your
    132 own tool set that you install under your home directory. Avoiding installing
    133 any extra packages as a super user is always helpful in maintaining a secure
    134 computing environment.
    135 
    13680Controlling the Tools Build
    13781---------------------------
Note: See TracChangeset for help on using the changeset viewer.