diff options
| author | Nomura <nomura.rh@gmail.com> | 2023-03-28 11:25:19 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-04-24 09:07:37 -0400 |
| commit | 18cfa545f03ddb6cb8378fdadec4f284aa7ea221 (patch) | |
| tree | d75c230d056ad9224087380d213e54a5ace40f87 /cross/metrowerks-eppc.txt | |
| parent | bda799dff2dc4b5d607f0e822b12ed0e2db38fb7 (diff) | |
| download | meson-18cfa545f03ddb6cb8378fdadec4f284aa7ea221.tar.gz | |
Initial support for Metrowerks C/C++ compiler
Diffstat (limited to 'cross/metrowerks-eppc.txt')
| -rw-r--r-- | cross/metrowerks-eppc.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cross/metrowerks-eppc.txt b/cross/metrowerks-eppc.txt new file mode 100644 index 000000000..e5e0e42fe --- /dev/null +++ b/cross/metrowerks-eppc.txt @@ -0,0 +1,28 @@ +# This file assumes that the path to your Metrowerks toolchain +# of choice is added to the environment(PATH) variable, so that +# Meson can find the binaries while building. + +# You should also do one of the following to ensure Meson can +# locate the .lcf linker script: +# - Add the cross directory to PATH as well +# - Edit c_link_args and cpp_link_args with the full +# path to the lcf file on your machine + +[binaries] +c = 'mwcceppc' +c_ld = 'mwldeppc' +cpp = 'mwcceppc' +cpp_ld = 'mwldeppc' +ar = 'mwldeppc' +as = 'mwasmeppc' + +[built-in options] +c_args = ['-lang', 'c99', '-nosyspath'] +c_link_args = 'metrowerks.lcf' +cpp_args = ['-lang', 'c++', '-nosyspath'] +cpp_link_args = 'metrowerks.lcf' + +[host_machine] +system = 'bare metal' +cpu_family = 'ppc' +endian = 'little'
\ No newline at end of file |
