This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linker seg fault


> Can rebuild with those options. How do you attach gdb to run the linker. 
> It seems that I need to run it through collect2 first. Can I just take 
> the arguments passed from g++ and call ld directly?

Using -Wl,-v on your g++ command line along with -save-temps if it's not
just a link step will get you what you want (otherwise you don't need
-save-temps).

-eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]