Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit56c46b6

Browse files
committed
platform: Fix llvm-objcopy and use new clang-wrapper flags
Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
1 parentfce7184 commit56c46b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎platform.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ compiler.warning_flags.all=-Wall -Wextra
2121
compiler.path={runtime.tools.cba-llvm.path}/bin/
2222
compiler.c.cmd=clang-wrapper
2323
compiler.c.flags=--target=avr -c -g -Os {compiler.warning_flags} --skip-lto=wiring.c --sysroot={runtime.tools.cba-avr-sysroot.path} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects
24-
compiler.c.elf.flags=--target=avr {compiler.warning_flags} --sysroot={runtime.tools.cba-avr-sysroot.path} -Os -g -flto -fuse-linker-plugin -ffunction-sections -fdata-sections -Wl,--gc-sections -fuse-ld={runtime.tools.cba-avr-bfd.path}/bin/ld.bfd
25-
compiler.c.elf.cmd=clang++
24+
compiler.c.elf.flags=--target=avr {compiler.warning_flags} --sysroot={runtime.tools.cba-avr-sysroot.path} -Os -g -flto -fuse-linker-plugin -ffunction-sections -fdata-sections -Wl,--gc-sections --bfd-dir={runtime.tools.cba-avr-bfd.path} --llvmgold-dir={runtime.tools.cba-llvmgold.path}
25+
compiler.c.elf.cmd=clang++-wrapper
2626
compiler.S.flags=--target=avr --sysroot={runtime.tools.cba-avr-sysroot.path} -c -g -x assembler-with-cpp -flto -MMD
2727
compiler.cpp.cmd=clang++-wrapper
2828
compiler.cpp.flags=--target=avr -c -g -Os {compiler.warning_flags} --skip-lto=HardwareSerial0.cpp --sysroot={runtime.tools.cba-avr-sysroot.path} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fno-rtti -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto
2929
compiler.ar.cmd=llvm-ar
3030
compiler.ar.flags=rcs
3131
compiler.objcopy.cmd=llvm-objcopy
32-
compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0
32+
compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load
3333
compiler.elf2hex.flags=-O ihex -R .eeprom
3434
compiler.elf2hex.cmd=llvm-objcopy
3535
compiler.ldflags=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp