This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/12949] gcc --target-help tries to assemble and link
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2003 21:45:55 -0000
- Subject: [Bug driver/12949] gcc --target-help tries to assemble and link
- References: <20031107213332.12949.ro@techfak.uni-bielefeld.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2003-11-12 21:45 -------
Subject: Re: gcc --target-help tries to assemble and link
> I think the reason why --target-help tries to call as and ld with --target-help is because the
> GNU tools understand them so I do not know if this is expected behavior though.
While this is true (at least for recent versions of GNU as and ld), I don't
think a casual user asking gcc for its target-specific options wants (or
needs) to be flooded with target-specific assembler and linker options.
And when GNU as/ld are not in use, passing --target-help to the native
tools unconditionally is certainly a bug.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12949