rule里面怎么触发链接
#6157
-
这个rule里应该怎么触发target编译 我看教程里面是
把objectfile加入target但是这样的话他链接的时候没有前面的-T参数 就会出问题
可是这样修改了lld 之后就没办法触发target的链接 |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Feb 15, 2025
Replies: 1 comment 1 reply
-
-T 后面为啥跟的是 obj ? linker scripts 不是有内置 rule 么,参考下 https://github.com/xmake-io/xmake/blob/dev/xmake/rules/linker/link_scripts/xmake.lua |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ririyeye
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-T 后面为啥跟的是 obj ? linker scripts 不是有内置 rule 么,参考下 https://github.com/xmake-io/xmake/blob/dev/xmake/rules/linker/link_scripts/xmake.lua