diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-16 23:02:09 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-16 23:02:09 +0300 |
commit | c58dd64f8e947f4659bcbc47d75e86e65043e714 (patch) | |
tree | 28be176b2646b02ae6cc006a00608a1152db35be /docs/markdown | |
parent | fa6ca160548d7e8df9c4c724e6c96f5e004e5316 (diff) | |
parent | 7f8908336362cccd45516f48b5320380cec0e817 (diff) | |
download | meson-c58dd64f8e947f4659bcbc47d75e86e65043e714.zip meson-c58dd64f8e947f4659bcbc47d75e86e65043e714.tar.gz meson-c58dd64f8e947f4659bcbc47d75e86e65043e714.tar.bz2 |
Merged Arm CC support.
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Reference-tables.md | 1 | ||||
-rw-r--r-- | docs/markdown/snippets/armcc-cross.md | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md index 5b4d7f0..2157e72 100644 --- a/docs/markdown/Reference-tables.md +++ b/docs/markdown/Reference-tables.md @@ -22,6 +22,7 @@ These are return values of the `get_id` method in a compiler object. | open64 | The Open64 Fortran Compiler | | nagfor | The NAG Fortran compiler | | lcc | Elbrus C/C++/Fortran Compiler | +| arm | ARM compiler | ## Script environment variables diff --git a/docs/markdown/snippets/armcc-cross.md b/docs/markdown/snippets/armcc-cross.md new file mode 100644 index 0000000..668f0ab --- /dev/null +++ b/docs/markdown/snippets/armcc-cross.md @@ -0,0 +1,15 @@ +## ARM compiler for C and CPP + +Cross-compilation is now supported for ARM targets using ARM compiler - ARMCC. +The current implementation does not support shareable libraries. +The default extension of the output is .axf. +The environment path should be set properly for the ARM compiler executables. +The '--cpu' option with the appropriate target type should be mentioned +in the cross file as shown in the snippet below. + +``` +[properties] +c_args = ['--cpu=Cortex-M0plus'] +cpp_args = ['--cpu=Cortex-M0plus'] + +``` |