From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13125 invoked by alias); 8 Mar 2008 16:20:36 -0000 Received: (qmail 13116 invoked by uid 22791); 8 Mar 2008 16:20:35 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 08 Mar 2008 16:20:18 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m28GKGMo004243; Sat, 8 Mar 2008 11:20:16 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m28GKGSI016201; Sat, 8 Mar 2008 11:20:16 -0500 Received: from opsy.redhat.com (vpn-248-35.boston.redhat.com [10.13.248.35]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m28GKF5c013837; Sat, 8 Mar 2008 11:20:16 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id DF0903782C6; Sat, 8 Mar 2008 08:27:59 -0700 (MST) To: Ralf Wildenhues Cc: Gcc Patch List Subject: Re: Patch: automatic dependencies for gcc References: <20080308143259.GA28658@ins.uni-bonn.de> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Sat, 08 Mar 2008 16:20:00 -0000 In-Reply-To: <20080308143259.GA28658@ins.uni-bonn.de> (Ralf Wildenhues's message of "Sat\, 8 Mar 2008 15\:33\:00 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-03/txt/msg00538.txt.bz2 >>>>> "Ralf" == Ralf Wildenhues writes: Ralf> Which revision is your patch against? 132840. Hmm, that is a bit old -- I'll update again if there's more testing to be done. Ralf> I ran into a build failure but it may be due to me getting the Ralf> merge wrong. What happened? >> +COMPILE = source='$<' object='$@' libtool=no \ >> + DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(COMPILE.base) Ralf> This looks like $(OUTPUT_OPTION) aka '-o $@' is missing for Ralf> non-gcc3 which means objects from subdirs end up in gcc/, Ralf> wrongly. [...] Thanks for noticing this. I will add it. Hmm, maybe I can fake a build forcing the use of depcomp even with gcc. Ralf> Is GCC supposed to be compilable at all by a compiler not understanding Ralf> "-c -o" (of which there aren't very many out there any more)? It depends on what they are. I would prefer not to jump through hoops here unless such a compiler is the system compiler on an "important" platform. I've long forgotten what compilers do this, do you know? Tom