This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: -X for ar and nm.
- To: geoffk at cygnus dot com
- Subject: Re: -X for ar and nm.
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Wed, 26 Jul 2000 16:54:52 -0700
- CC: binutils at sourceware dot cygnus dot com
Hi Geoff,
: The GCC build process on AIX passes -X32_64 to ar and nm, because for
: the native tools this is necessary to make stuff work. The
: functionality this turns on is the default for GNU ar and nm, and it's
: convenient to have GNU ar and GNU nm take these flags so you don't
: have to worry about which one you're using.
:
: Thus this patch. Tested on powerpc-linux.
:
: OK to commit?
Well... If you are going to add a new command line option, even if
only to silently ignore it, then you ought to add it to the
binutils.texi document and the usage() functions.
Also, if the target is AIX, wouldn't it be useful to generate a
warning message if a -X option is given which does not match the
default behavior of the tool concerned ? Just so that users don't
get confused when they use the switch, but it does not work and there
is no message explaining why.
Cheers
Nick