aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
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/markdown/snippets
parent996f07c546d6e82b0648a1d9f81d7474b1bec76e (diff)
downloadmeson-68c83cb213ab3f17593699020313535d5de1e92f.zip
meson-68c83cb213ab3f17593699020313535d5de1e92f.tar.gz
meson-68c83cb213ab3f17593699020313535d5de1e92f.tar.bz2
Add support for Renesas CC-RX toolchain
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/ccrx_toolchain_support.md16
1 files changed, 16 insertions, 0 deletions
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