This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0.3 build-procedure incompatibilities with POSIX 1003.1-2001
> Date: Tue, 19 Feb 2002 11:37:34 +0000 (GMT)
> From: "Joseph S. Myers" <jsm28@cam.ac.uk>
>
> gcc_release only needs to work on GNU systems; in particular, it
> relies on other GNU diff options.
OK, but GNU diff is one of the affected utilities. If you run it in
POSIX 2001 mode (as I am doing, for testing), it rejects the option
-3, since POSIX 1003.1-2001 prohibits support for that option (even as
an extension -- pretty Draconian, huh?).
The change I proposed for gcc_release should be portable to older
versions of GNU diff, so it shouldn't cause problems on the pre-2001
hosts.
> I think there's a need for the GNU Coding Standards to be fixed here;
> under "Utilities in Makefiles", they don't allow dd, but nor do they allow
> tail, and elsewhere they allow dd in installation commands.
OK, I'll send in a bug report / question for that.