This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/37786] Documentation for `-symbolic' needs fixing
- From: "martinrb at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2008 23:10:25 -0000
- Subject: [Bug driver/37786] Documentation for `-symbolic' needs fixing
- References: <bug-37786-16725@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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