-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavior
Description
Zig Version
0.11.0
Steps to Reproduce and Observed Behavior
This is a follow-up to
- zig cc: unsupported darwin linker args #4841 (comment)
- linker identification issues when using zig as C compiler for meson based projects #17480 (comment)
First issue wants to simply opt out from zig cc for linking to workaround a missing linker argument (and that is also my original desire, my issue is #18356)
The second issue mentions something about cgo, which I admit I don't really understand.
So far, from what I was able to find in GitHub issues, the discussion about the missing/uneffective argument went like this
Quick question: Have you considered adding something like -fuse-ld=/path/to/your/linker, which is supported by clang. This could be useful for using non-standard linkers in case it is needed.
This is a big topic, too big to answer as a quick question
Expected Behavior
I am able to pick my own linker and ignore the zig cc's.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavior