aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPhillip Cao <ftechz@gmail.com>2018-10-25 15:24:05 +1300
committerPhillip Cao <ftechz@gmail.com>2018-11-08 00:02:22 +1300
commit68c83cb213ab3f17593699020313535d5de1e92f (patch)
treea7d1e78ca6d0f8fe1b1ad0e19bbac5e1d10039ec /docs
parent996f07c546d6e82b0648a1d9f81d7474b1bec76e (diff)
downloadmeson-68c83cb213ab3f17593699020313535d5de1e92f.zip
meson-68c83cb213ab3f17593699020313535d5de1e92f.tar.gz
meson-68c83cb213ab3f17593699020313535d5de1e92f.tar.bz2
Add support for Renesas CC-RX toolchain
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Reference-tables.md42
-rw-r--r--docs/markdown/snippets/ccrx_toolchain_support.md16
2 files changed, 38 insertions, 20 deletions
diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md
index 72dce4b..d3bf3d2 100644
--- a/docs/markdown/Reference-tables.md
+++ b/docs/markdown/Reference-tables.md
@@ -5,26 +5,27 @@
These are return values of the `get_id` (Compiler family) and
`get_argument_syntax` (Argument syntax) method in a compiler object.
-| Value | Compiler family | Argument syntax |
-| ----- | ---------------- | -------------------------------|
-| gcc | The GNU Compiler Collection | gcc |
-| clang | The Clang compiler | gcc |
-| msvc | Microsoft Visual Studio | msvc |
-| intel | Intel compiler | msvc on windows, otherwise gcc |
-| llvm | LLVM-based compiler (Swift, D) | |
-| mono | Xamarin C# compiler | |
-| dmd | D lang reference compiler | |
-| rustc | Rust compiler | |
-| valac | Vala compiler | |
-| pathscale | The Pathscale Fortran compiler | |
-| pgi | The Portland Fortran compiler | |
-| sun | Sun Fortran compiler | |
-| g95 | The G95 Fortran compiler | |
-| open64 | The Open64 Fortran Compiler | |
-| nagfor | The NAG Fortran compiler | |
-| lcc | Elbrus C/C++/Fortran Compiler | |
-| arm | ARM compiler | |
-| armclang | ARMCLANG compiler | |
+| Value | Compiler family | Argument syntax |
+| ----- | --------------- | --------------- |
+| gcc | The GNU Compiler Collection | gcc |
+| clang | The Clang compiler | gcc |
+| msvc | Microsoft Visual Studio | msvc |
+| intel | Intel compiler | msvc on windows, otherwise gcc |
+| llvm | LLVM-based compiler (Swift, D) | |
+| mono | Xamarin C# compiler | |
+| dmd | D lang reference compiler | |
+| rustc | Rust compiler | |
+| valac | Vala compiler | |
+| pathscale | The Pathscale Fortran compiler | |
+| pgi | The Portland Fortran compiler | |
+| sun | Sun Fortran compiler | |
+| g95 | The G95 Fortran compiler | |
+| open64 | The Open64 Fortran Compiler | |
+| nagfor | The NAG Fortran compiler | |
+| lcc | Elbrus C/C++/Fortran Compiler | |
+| arm | ARM compiler | |
+| armclang | ARMCLANG compiler | |
+| ccrx | Renesas RX Family C/C++ compiler | |
## Script environment variables
@@ -62,6 +63,7 @@ set in the cross file.
| sparc | 32 bit SPARC |
| sparc64 | SPARC v9 processor |
| s390x | IBM zSystem s390x |
+| rx | Renesas RX 32 bit MCU |
Any cpu family not listed in the above list is not guaranteed to
remain stable in future releases.
diff --git a/docs/markdown/snippets/ccrx_toolchain_support.md b/docs/markdown/snippets/ccrx_toolchain_support.md
new file mode 100644
index 0000000..6bf7e5b
--- /dev/null
+++ b/docs/markdown/snippets/ccrx_toolchain_support.md
@@ -0,0 +1,16 @@
+## CC-RX compiler for C and CPP
+
+Cross-compilation is now supported for Renesas RX targets with the CC-RX compiler.
+
+The environment path should be set properly for the CC-RX compiler executables.
+The `-cpu` option with the appropriate value should be mentioned in the cross-file as shown in the snippet below.
+
+```ini
+[properties]
+c_args = ['-cpu=rx600']
+cpp_args = ['-cpu=rx600']
+```
+
+The default extension of the executable output is `.abs`.
+Other target specific arguments to the compiler and linker will need to be added explicitly from the cross-file(`c_args`/`c_link_args`/`cpp_args`/`cpp_link_args`) or some other way.
+Refer to the CC-RX User's manual for additional compiler and linker options. \ No newline at end of file