[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: ld: Wrong error message on unknown -r* and -i* command-line options
From: |
Igor Zhbanov |
Subject: |
Fwd: ld: Wrong error message on unknown -r* and -i* command-line options |
Date: |
Fri, 23 Jan 2015 20:22:09 +0400 |
Hello.
I have found that ld reports confusing message on unsupported
command-line options started with 'r' or 'i':
$ ld -iqwerty
ld: bad -rpath option
$ ld -rqwerty
ld: bad -rpath option
The common case discussed in Internet is incorrectly passing -rdynamic
option to ld.
It's hard to guess what's wrong with -rpath ... when it is also
provided on the command line.
I suggest to print more user-friendly message with complete unsupported option.
Thank you.