-debug to collect2

Perry Smith pedzsan@gmail.com
Mon Aug 20 12:45:00 GMT 2012


Is there a way to get the -debug flag from the g++ command line to collect2?

I've tried -v (which appears to be passed through) -debug and --Wl,-debug

Right now, I do -v and then copy and paste the collect2 command adding the -debug by hand.
Which works but is slower.

Thank you,
Perry



More information about the Gcc mailing list