From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7849 invoked by alias); 14 Jun 2008 08:41:25 -0000 Received: (qmail 7841 invoked by uid 22791); 14 Jun 2008 08:41:25 -0000 X-Spam-Check-By: sourceware.org Received: from merkur.ins.uni-bonn.de (HELO merkur.ins.uni-bonn.de) (131.220.223.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 14 Jun 2008 08:41:05 +0000 Received: from localhost.localdomain (xdsl-87-78-71-118.netcologne.de [87.78.71.118]) by merkur.ins.uni-bonn.de (Postfix) with ESMTP id BF944400016C2 for ; Sat, 14 Jun 2008 10:41:02 +0200 (CEST) Received: from ralf by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1K7RJW-0000I5-1S for gcc-patches@gcc.gnu.org; Sat, 14 Jun 2008 10:40:46 +0200 Date: Sat, 14 Jun 2008 09:05:00 -0000 From: Ralf Wildenhues To: gcc-patches@gcc.gnu.org Subject: [PATCH, doc] PR30739: awk is a build prerequisite Message-ID: <20080614084045.GF14042@ins.uni-bonn.de> Mail-Followup-To: Ralf Wildenhues , gcc-patches@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-06/txt/msg00915.txt.bz2 I suppose nobody in those PRs (30739, 29049) remembers which gawk versions were broken, so let's just go for a general mention. According to 'info gawk SVR4', GCC needs at least SVR4 awk because multiple -f options, -v, and regex constants are used during the build. I haven't seen any Posix requirement in the scripts, at a quick glance. Tested 'make html info pdf'. OK for trunk? Thanks, Ralf gcc/ChangeLog: 2008-06-14 Ralf Wildenhues PR documentation/30739 * doc/install.texi (Prerequisites): Document dependency on awk. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 127f065..50b135d 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -273,6 +273,12 @@ environment to your ``good'' shell prior to running @command{zsh} is not a fully compliant POSIX shell and will not work when configuring GCC@. +@item A ``working'' SVR4 or POSIX awk + +Necessary for creating some of the generated source files for GCC@. +If in doubt, use a recent GNU awk version, as some of the older ones +are broken. + @item GNU binutils Necessary in some circumstances, optional in others. See the