kopia lustrzana https://github.com/OpenRTX/OpenRTX
64 wiersze
1.5 KiB
Plaintext
64 wiersze
1.5 KiB
Plaintext
[binaries]
|
|
c = 'h8300-unknown-elf-gcc'
|
|
cpp = 'h8300-unknown-elf-g++'
|
|
ld = 'h8300-unknown-elf-ld'
|
|
ar = 'h8300-unknown-elf-ar'
|
|
as = 'h8300-unknown-elf-as'
|
|
size = 'h8300-unknown-elf-size'
|
|
objdump = 'h8300-unknown-elf-objdump'
|
|
objcopy = 'h8300-unknown-elf-objcopy'
|
|
strip = 'h8300-unknown-elf-strip'
|
|
gdb = 'h8300-unknown-elf-gdb'
|
|
terminal= 'x-terminal-emulator'
|
|
openocd = '/usr/local/bin/openocd'
|
|
|
|
[properties]
|
|
c_args = [
|
|
'-D_DEFAULT_SOURCE=1',
|
|
'-ffunction-sections',
|
|
'-Wall',
|
|
'-Werror=return-type',
|
|
'-g',
|
|
'-msx',
|
|
'-Os'
|
|
]
|
|
|
|
cpp_args = [
|
|
'-D_DEFAULT_SOURCE=1',
|
|
'-ffunction-sections',
|
|
'-Wall',
|
|
'-Werror=return-type',
|
|
'-g',
|
|
'-fno-exceptions',
|
|
'-fno-rtti',
|
|
'-D__NO_EXCEPTIONS',
|
|
'-std=c++14',
|
|
'-msx',
|
|
'-Os'
|
|
]
|
|
|
|
c_link_args = [
|
|
'-msx',
|
|
'-Os',
|
|
'-fno-exceptions',
|
|
'-fno-rtti',
|
|
'-Wl,--gc-sections',
|
|
'-Wl,-Map,main.map',
|
|
'-Wl,--warn-common',
|
|
'-nostartfiles',
|
|
'-nodefaultlibs',
|
|
'-nostdlib',
|
|
'-lstdc++',
|
|
'-lc',
|
|
'-lm',
|
|
'-lgcc',
|
|
]
|
|
|
|
cpp_link_args = c_link_args
|
|
|
|
[host_machine]
|
|
system = 'none'
|
|
cpu_family = 'h8300'
|
|
cpu = 'h8sx'
|
|
endian = 'big'
|