diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-11-07 13:15:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-07 13:15:14 -0800 |
commit | 1d60a6a2edb36632136db8f3547577838bca6a4c (patch) | |
tree | de661c2df567ba75958b689b1edc476b701e4eda /docs/markdown/snippets | |
parent | d4ecd40613abb6a9de54edca71e0a6fe1c6c8c04 (diff) | |
parent | 76333d2a1e5e5fde5ebece478dae8a22091b5cb9 (diff) | |
download | meson-1d60a6a2edb36632136db8f3547577838bca6a4c.zip meson-1d60a6a2edb36632136db8f3547577838bca6a4c.tar.gz meson-1d60a6a2edb36632136db8f3547577838bca6a4c.tar.bz2 |
Merge pull request #4472 from ftechz/ccrx-support
Add support for Renesas CC-RX toolchain support
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/ccrx_toolchain_support.md | 16 |
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 |