Summary: | Provide dependency information also when linking | ||
---|---|---|---|
Product: | gcc | Reporter: | jpakkane |
Component: | other | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED MOVED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
jpakkane
2018-02-12 22:52:10 UTC
(In reply to jpakkane from comment #0) > If linking supported generating dependency files like -M does for source > compilations, this would not be a problem and ... and? The main problem is that GCC doesn't do the linking, it just calls the linker. GCC is not involved in resolving -lmydep to a file on disk, that's the linker. So the feature would have to be added to the linker, not to GCC. Please file on sourceware.org/bugzilla |