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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Jpakkane,

  Actually you can already do this using the linker's -Map option.

  For example:

    % gcc -c -Wl,-Map,fred.map source.o -L/path1 -L.path2 -lmydep

    % grep LOAD fred.map
    LOAD /path2/libmydep.a

  It might take a bit of munging to convert the data in the linker's
  map file into a dependency file, but I am sure that you could write
  a script to do it.

Cheers
  Nick

-- 
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