[rtems commit] user: add a warning not to use special characters in pathnames

Joel Sherrill joel at rtems.org
Fri Nov 16 17:35:42 UTC 2018


Module:    rtems
Branch:    master
Commit:    b2a7a5ddbe4af1ed43e5e4ffea027d40e44fd26c
Changeset: http://git.rtems.org/rtems/commit/?id=b2a7a5ddbe4af1ed43e5e4ffea027d40e44fd26c

Author:    Marçal Comajoan Cara <mcomajoancara at gmail.com>
Date:      Wed Nov 14 17:01:14 2018 +0100

user: add a warning not to use special characters in pathnames

Spaces and other specical characters in pathnames break builds of any
software packages using GNU make.

All of the GNU tools and RTEMS use make and this breaks builds. This
is a long standing known issue with GNU make, which can't handle spaces
in pathnames:

https://savannah.gnu.org/bugs/?712

This work was part of GCI 2018.

Probably closes #3450.

---

 user/hosts/os.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/user/hosts/os.rst b/user/hosts/os.rst
index 82ff4de..d9fe943 100644
--- a/user/hosts/os.rst
+++ b/user/hosts/os.rst
@@ -63,6 +63,13 @@ proven over the years to be difficult to manage in production systems.
     means it is searched first and the RTEMS needed versions of the tools are
     used.
 
+.. warning::
+
+    Do not put spaces or special characters in the directories you use to build
+    RTEMS. Many of the packages built by the RSB use GNU *make*, which cannot
+    handle spaces in pathnames. If there is a space in the pathname the build
+    will fail. Special characters are also likely to confuse build systems.
+
 .. note::
 
     RSB and RTEMS have a matching *git branch* for each version of RTEMS. For



More information about the vc mailing list