Hello list and GNU-experts.

When linking a gcc program, I'd like figure out if a library
is needed or not. I mean, when generating a .map-file with
  -Wl,--print-map,--cref,

I cannot see a report of libraries that are not need
for a correct link.

Is there a way to tell. Similar to what MSVC's
 link -verbose ...

would report: Unused libraries:
  f:/ProgramFiler-x86/WindowsKits/Lib/10.0.15063.0/um/x86\uuid.lib
  f:/gv/VC_2019/VC/Tools/MSVC/14.25.28610/lib/x86\OLDNAMES.lib

--
--gv


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to