[Bug driver/37786] Documentation for `-symbolic' needs fixing
martinrb at google dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 9 23:11:00 GMT 2008
------- Comment #5 from martinrb at google dot com 2008-10-09 23:10 -------
(In reply to comment #4)
> If you want to use a specific linker option, use -Wl,XYZ or -Xlinker XYZ .
> Since those are the documented way to pass a linker option via gcc.
I know about -Wl, and -Xlinker.
I am trying to reduce confusion,
for myself in part, but mostly for others.
The flag `-Bsymbolic' works (or at least is accepted)
despite the fact that it is not documented that such a
flag is passed to the linker. This appears to be an
undocumented use of `-B'. And on the other hand,
the documented flag `-symbolic', which appears to
have the same meaning, is rejected.
Does this not seem disturbingly confusing?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37786
More information about the Gcc-bugs
mailing list