PATCH: Add --report-line-number-with-parentheses to linker
Mike Frysinger
vapier@gentoo.org
Sat Jul 25 02:13:00 GMT 2009
More information about the Binutils mailing list
Sat Jul 25 02:13:00 GMT 2009
- Previous message (by thread): PATCH: Add --report-line-number-with-parentheses to linker
- Next message (by thread): PATCH: Add --report-line-number-with-parentheses to linker
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Friday 24 July 2009 19:20:42 H.J. Lu wrote: > On Fri, Jul 24, 2009 at 4:10 PM, Ian Lance Taylor wrote: > > "H.J. Lu" writes: > >> Some IDE expects line number in linker messages surrounded by > >> parentheses. > > > > How about having people who use that IDE simply replace the linker with > > a shell script which invokes the real ld and runs sed on the output? > > It is slow and sed may not be available on that platform. sed's speed is irrelevant compared to the linking speed. calling it "slow" in this context is ridiculous. rather than add some long winded format-specific option, why dont you make it a flexible argument. --line-number-format="(#)" and the # gets replaced with the actual line number. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <https://sourceware.org/pipermail/binutils/attachments/20090725/2881cc11/attachment.sig>
- Previous message (by thread): PATCH: Add --report-line-number-with-parentheses to linker
- Next message (by thread): PATCH: Add --report-line-number-with-parentheses to linker
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list