https://sourceware.org/bugzilla/show_bug.cgi?id=22843

--- Comment #2 from jpakkane at gmail dot com ---
The point of this request is to integrate the linker's dependency list with
Make and Ninja. The way the workflow would go (and already does for compilers)
is the following:

 - the linker gets invoked with a flag to write the dep file
 - it gets written to libresult.so.d (or somesuch)
 - _immediately_ after the process has finished, Make or Ninja loads the
contents of the file and stores it in their internal data storage
 - in case of Ninja, it immediately deletes the .d file after it has read it,
this makes a big performance difference on Windows

As can be seen, getting the dependency info in the correct format is necessary,
because it is immediately consumed. Needing to do a conversion means that
everyone who wants to use this feature needs to wrap all linker invocations in
a custom script.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to