You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know what to do with it, or even why, and it compiles well on Windows 11
I am unable to link properly and it inexplicably generates some undefined ldflag -dead_strip
error: /Users/cc/Downloads/arm-gnu-toolchain/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: Error: unable to disambiguate: -dead_strip (did you mean --dead_strip ?)
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
Xmake 版本
2.8.7
操作系统版本和架构
macos sonoma 14.3.1
描述问题
I don't know what to do with it, or even why, and it compiles well on Windows 11
I am unable to link properly and it inexplicably generates some undefined ldflag -dead_strip
期待的结果
I hope it compiles properly
工程配置
`add_rules("mode.debug", "mode.release")
toolchain("arm-none-eabi")
set_kind("standalone")
set_sdkdir("$(projectdir)/../arm-gnu-toolchain")
toolchain_end()
target("main")
set_languages("c11")
set_targetdir("build")
set_filename("A2Plus.elf")
set_toolchains("arm-none-eabi")
set_kind("binary")
`
附加信息和错误日志
error: /Users/cc/Downloads/arm-gnu-toolchain/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: Error: unable to disambiguate: -dead_strip (did you mean --dead_strip ?)
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: