Changeset 9e18bcb in rtems-docs
- Timestamp:
- 01/10/19 11:52:24 (5 years ago)
- 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)
- Location:
- rsb
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rsb/index.rst
r633a24f r9e18bcb 29 29 30 30 source-builder 31 why-build-from-source.rst 31 32 building-tools-and-rtems.rst 32 33 project-sets -
rsb/source-builder.rst
r633a24f r9e18bcb 78 78 Build Failures`. 79 79 80 Why Build from Source?81 ----------------------82 83 The RTEMS Source Builder is not a replacement for the binary install systems84 you have with commercial operating systems or open source operating system85 distributions. Those products and distributions are critically important and86 are the base that allows the RSB to work. The RTEMS Source Builder sits87 somewhere between you manually entering the commands to build a tool set and a88 tool such as ``yum`` or ``apt-get`` to install binary packages made89 specifically for your host operating system. Building manually or installing a90 binary package from a remote repository are valid and real alternatives. The91 RSB provides the specific service of repeatably being able to build tool sets92 from source code. The process leaves you with the source code used to build93 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 used96 in a critical piece of infrastructure that has a long life cycle being able to97 build from source is important. It insulates the project from the fast ever98 changing world of the host development machines. If your tool set is binary and99 you have lost the ability to build it you have lost a degree of control and100 flexibility open source gives you. Fast moving host environments are101 fantastic. We have powerful multi-core computers with huge amounts of memory102 and state of the art operating systems to run on them however the product or103 project you are part of may need to be maintained well past the life time of104 these host. Being able to build from source an important and critical part of105 this process because you can move to a newer host and create an equivalent tool106 set.107 108 Building from source provides you with control over the configuration of the109 package you are building. If all or the most important dependent parts are110 built from source you limit the exposure to host variations. For example the111 GNU C compiler (gcc) currently uses a number of 3rd party libraries internally112 (gmp, mpfr, etc). If your validated compiler generating code for your target113 processor is dynamically linked against the host's version of these libraries114 any change in the host's configuration may effect you. The changes the host's115 package management system makes may be perfectly reasonable in relation to the116 distribution being managed however this may not extend to you and your117 tools. Building your tools from source and controlling the specific version of118 these dependent parts means you are not exposing yourself to unexpected and119 often difficult to resolve problems. On the other side you need to make sure120 your tools build and work with newer versions of the host operating121 system. Given the stability of standards based libraries like ``libc`` and ever122 improving support for standard header file locations this task is becoming123 easier.124 125 The RTEMS Source Builder is designed to be audited and incorporated into a126 project's verification and validation process. If your project is developing127 critical applications that needs to be traced from source to executable code in128 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 suitable131 rights to install binary packages, building from source lets you create your132 own tool set that you install under your home directory. Avoiding installing133 any extra packages as a super user is always helpful in maintaining a secure134 computing environment.135 136 80 Controlling the Tools Build 137 81 ---------------------------
Note: See TracChangeset
for help on using the changeset viewer.