This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Building binutils/gcc/glibc -


zack wrote:
>> The GNU Configure scripts seem to break with coreutils 5.0,
>> specifically head and tail programs no longer accept -# but now -n#
>
> This is a bug in coreutils 5.0.  Report it to the coreutils
> maintainers.  These "obsolete" command line options must continue to be
> supported.

http://www.opengroup.org/onlinepubs/007904975/utilities/head.html
says
"The obsolescent -number form is withdrawn.".
So the standard no longer requires head or tail to support -#.

The coreutils people interpret this to mean that
head and tail are not allowed to accept the old option:
http://www.gnu.org/software/coreutils/manual/html_mono/coreutils.html#SEC7

Annoyingly, BSD before 4.4 didn't accept -n # (according to the man page
archive at freebsd.org), so applications can't work with both
old BSD and new Posix.  I suppose this is another thing one could
use autoconf to detect...

- Dan



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