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]
Other format: [Raw text]

Change to doc/Makefile.am for "Extracted from" messages


Unhappily, echo -n is neither POSIX conforming nor portable.  In fact,
POSIX conforming systems are fairly explicitly prohibited from
supporting it.
(Although there recently was a go-around about that within the Austin
group,
it was about support of the AT&T style formatting.)

There is a configure test for which version of echo is installed (it
appears in
the configure for bfd, look for an echo -n there).  The "right answer"
is the
printf command, but I don't think it's lowest common denominator enough
to
be useful.

The consequence of this is that the -n appears in (non-comment) source
in bfd.h,
making the compiler rather unhappy.

Donn


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