From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4849 invoked by alias); 24 Aug 2004 17:18:09 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 4840 invoked from network); 24 Aug 2004 17:18:08 -0000 Received: from unknown (HELO zcars04e.nortelnetworks.com) (47.129.242.56) by sourceware.org with SMTP; 24 Aug 2004 17:18:08 -0000 Received: from zcard303.ca.nortel.com (zcard303.ca.nortel.com [47.129.242.59]) by zcars04e.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id i7OHI5o27546 for ; Tue, 24 Aug 2004 13:18:06 -0400 (EDT) Received: from [47.128.182.86] (wcary1hw.ca.nortel.com [47.128.182.86]) by zcard303.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id NALTGWC9; Tue, 24 Aug 2004 13:18:05 -0400 Message-ID: <412B784D.3020704@americasm01.nt.com> Date: Wed, 25 Aug 2004 19:30:00 -0000 X-Sybari-Space: 00000000 00000000 00000000 00000000 From: "Iain Woolf" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a1) Gecko/20040520 MIME-Version: 1.0 To: gcc-help Subject: *.gperf files in gcc directories? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00223.txt.bz2 Hi all, I see a number of gperf files in the gcc source directory: ./gcc/ch/gperf ./gcc/cp/gxx.gperf ./gcc/c-gperf.h ./gcc/c-parse.gperf ./gcc/java/keyword.gperf ./gcc/objc/objc.gperf And I notice that some header files have been produced by calling gperf on these files with various options. However, the gperf step isn't part of the build, so my question is when should one "re-gperf" the above files, if at all? I'm running into the following error when building a gcc cross compiler on linux: gcc -c -DCROSS_COMPILE -DIN_GCC -DHAIFA -DCPU=PPC860 -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/config -I../../gcc/../include ../../gcc/c-lex.c In file included from ../../gcc/c-lex.c:170: c-parse.gperf:89: `VEC_STEP' undeclared here (not in a function) c-parse.gperf:89: initializer element is not constant c-parse.gperf:89: (near initialization for `wordlist[132].token') make[1]: *** [c-lex.o] Error 1 make[1]: Leaving directory `/localdisk/data/tornado2.2-cp1-20040816/host/src/gnu.ppc/linux-build/gcc' make: *** [all-gcc] Error 2 At line 170, c-lex.c includes c-gperf.h which was produced by gperf processing the file c-parse.gperf. Any ideas? Iain