From: Martin M. <vi...@gm...> - 2011-01-13 12:36:09
|
On Thu, Jan 13, 2011 at 12:48 PM, Erik Toussaint <eh....@gm...>wrote: > 2011/1/13 Martin Mocko <vi...@gm...> > > How does one get verbose linker output using MinGW/GCC? I want something >> similar to MS Visual C "link /verbose", where for every object file >> included, I can see list of objects that reference it. >> >> "gcc -v" only shows info up to "collect2" call, and I failed to find out >> how to get further verbose info. >> >> > You can pass options to the linker, using the -Wl,option switch. Maybe this > can help you. > > For more info, see: > > http://gcc.gnu.org/onlinedocs/gcc-4.5.2/gcc/Link-Options.html > > and > > http://sourceware.org/binutils/docs-2.21/ld/Options.html > Seems --cref option is close to what I needed. Thanks. |