[PATCH] This patch provides usage of RTEMS cross-compiler over GCC cross-compiler
utkarsh.rai60 at gmail.com
utkarsh.rai60 at gmail.com
Sun Mar 22 10:52:16 UTC 2020
---
user/start/tools.rst | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/user/start/tools.rst b/user/start/tools.rst
index c3f039b..8a1f393 100644
--- a/user/start/tools.rst
+++ b/user/start/tools.rst
@@ -76,3 +76,28 @@ source code used.
Add ``--verbose`` to the GCC command for the the verbose version details.
+
+RTEMS cross-compiler over GCC cross-compiler
+--------------------------------------------
+ The new users are often confused as to why they can't use their distributions cross-compiler for their target on rtems, e.g.,
+ the riscv64-linux-gnu or the arm-none-eabi-gcc.Below mentioned are some the reasons for using the RTEMS cross-compiler.
+
+ ``Correct configuration of newlib`` -
+ Newlib is a C standard library implementation intended
+ for use on embedded systems. Most of the POSIX and libc support for RTEMS is derived from newlib.
+ The RTEMS cross-compiler configures newlib correctly for RTEMS.
+
+ ``Threading in GCC supported libraries`` -
+ GCC supported threading libraries such as ``pthread.h``
+ provide threading support to an application,these libraries are tailored according to RTEMS using
+ the RTEMS cross-compiler.
+
+ ``Provide preprocessor define _rtems_`` -
+ The ``_rtems_`` preprocessor define is genarally used to include rtems
+ specific libraries.This preprocessor define is provided by the RTEMS cross-compiler at the compile time.
+
+ ``Multilib variants to match the BSP``-
+ RTEMS configures GCC to create separate runtime libraries for
+ each supported instruction set, floating point unit, vector unit, word size (e.g. 32-bit and 64-bit), endianess,
+ code model, ABI, processor errata workarounds, and so on in the architecture. This is termed multilib.
+ Multilibs variants to match the BSP are set by selecting a specific set of machine options using the RTEMS cross-compiler.
--
2.17.1
More information about the devel
mailing list