From: Greg C. <gch...@sb...> - 2011-01-13 11:46:30
|
On 2011-01-13 09:20Z, Martin Mocko wrote: > 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. 'gcc --verbose' makes the compiler verbose; 'gcc -Wl,--verbose' makes the linker verbose. You can specify both, if you like. Some of your requirements may call for '-Wl,--print-map'. |