aboutsummaryrefslogtreecommitdiff
path: root/cross/metrowerks-arm.txt
blob: a13175b1782ba3b9192adb7d02b7c8c48865eea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This file assumes that the path to your Metrowerks Embedded ARM
# toolchain 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 = 'mwccarm'
c_ld = 'mwldarm'
cpp = 'mwccarm'
cpp_ld = 'mwldarm'
ar = 'mwldarm'
as = 'mwasmarm'

[built-in options]
c_args = ['-lang', 'c99', '-D_NITRO', '-nosyspath']
c_link_args = 'metrowerks.lcf'
cpp_args = ['-lang', 'c++', '-D_NITRO', '-nosyspath']
cpp_link_args = 'metrowerks.lcf'

[host_machine]
system = 'bare metal'
cpu_family = 'arm'
endian = 'little'