This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -X for ar and nm.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]