Posix v 200112L conformance breaks gcc build

Zack Weinberg zack@codesourcery.com
Mon May 12 16:58:00 GMT 2003


Ryan Oliver <ryan@linuxfromscratch.org> writes:

> Greetings all.
>
> Have few patches here to sort out issues that arise from deprecated
> features in
> coreutils 5.0 binaries which breaks the gcc build
>
> When coreutils is compiled against current cvs glibc, due to
> _POSIX2_VERSION=200104L
> which now (since 20030404) appears in the header posix/unistd.h the
> resultant binaries no longer support common options
> such as
>
> head -10, tail +12c

This is a bug in coreutils.  I don't care what POSIX says, there are
thirty years worth of shell scripts out there depending on the
"deprecated" command line syntaxes.  Put them back.

zw



More information about the Gcc-bugs mailing list