From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26343 invoked by alias); 23 Apr 2003 18:20:34 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 26336 invoked from network); 23 Apr 2003 18:20:34 -0000 Received: from unknown (HELO e2.ny.us.ibm.com) (32.97.182.102) by sources.redhat.com with SMTP; 23 Apr 2003 18:20:34 -0000 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [9.56.224.206]) by e2.ny.us.ibm.com (8.12.9/8.12.2) with ESMTP id h3NIKY9X015356 for ; Wed, 23 Apr 2003 14:20:34 -0400 Received: from unknown.host (d01av02.pok.ibm.com [9.56.224.216]) by northrelay04.pok.ibm.com (8.12.8/NCO/VER6.5) with ESMTP id h3NIKVpv204540 for ; Wed, 23 Apr 2003 14:20:32 -0400 Received: (from janis@localhost) by unknown.host (8.9.3/8.9.3) id LAA13546 for gcc@gcc.gnu.org; Wed, 23 Apr 2003 11:19:17 -0700 Date: Wed, 23 Apr 2003 18:50:00 -0000 From: Janis Johnson To: gcc@gcc.gnu.org Subject: libstdc++ testsuite failures and GLIBCPP_BUILD_PCH Message-ID: <20030423111917.A13536@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-SW-Source: 2003-04/txt/msg01167.txt.bz2 Testing of libstdc++-v3 for a cross powerpc64-linux compiler fails because bits/stdc++.h isn't found. It appears to be a configuration or build problem, but I don't understand how that mechanism works. >From libstdc++-v3/include/Makefile.am: if GLIBCPP_BUILD_PCH pch_build = ${pch_input} pch_install = install-pch else pch_build = pch_install = endif >From libstdc++-v3/include/Makefile.in: @GLIBCPP_BUILD_PCH_TRUE@pch_build = ${pch_input} @GLIBCPP_BUILD_PCH_FALSE@pch_build = @GLIBCPP_BUILD_PCH_TRUE@pch_install = install-pch @GLIBCPP_BUILD_PCH_FALSE@pch_install = For a native i686-linux build, from i686-pc-linux-gnu/libstdc++-v3/include/Makefile: pch_build = ${pch_input} #pch_build = pch_install = install-pch #pch_install = For a cross build of powerpc64-linux from powerpc-linux, from powerpc64-linux/libstdc++-v3/include/Makefile: pch_build = ${pch_input} pch_build = pch_install = install-pch pch_install = So, what magic is going on with @GLIBCPP_BUILD_PCH_TRUE@ and @GLIBCPP_BUILD_PCH_FALSE@, and why are they both true for my cross build? Janis