From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32442 invoked by alias); 17 Aug 2010 22:47:58 -0000 Received: (qmail 32428 invoked by uid 22791); 17 Aug 2010 22:47:56 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-ww0-f41.google.com (HELO mail-ww0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Aug 2010 22:47:49 +0000 Received: by wwi14 with SMTP id 14so1543574wwi.2 for ; Tue, 17 Aug 2010 15:47:46 -0700 (PDT) Received: by 10.227.151.195 with SMTP id d3mr6152425wbw.170.1282085266896; Tue, 17 Aug 2010 15:47:46 -0700 (PDT) Received: from [192.168.2.99] (cpc2-cmbg8-0-0-cust61.5-4.cable.virginmedia.com [82.6.108.62]) by mx.google.com with ESMTPS id a28sm6958050wbe.15.2010.08.17.15.47.45 (version=SSLv3 cipher=RC4-MD5); Tue, 17 Aug 2010 15:47:45 -0700 (PDT) Message-ID: <4C6B16AD.5080405@gmail.com> Date: Tue, 17 Aug 2010 22:55:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Ralf Wildenhues , Dmitrijs Ledkovs , gcc-patches@gcc.gnu.org Subject: Re: PR libgcj/40868 - ecjx should be build with host compiler References: <87eie34tnv.fsf@ubuntu.com> <4C650A04.8040207@redhat.com> <4C6906BC.7040501@redhat.com> <20100816185338.GK1336@gmx.de> <8762z9v006.fsf@ubuntu.com> <20100817184502.GF16326@gmx.de> In-Reply-To: <20100817184502.GF16326@gmx.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2010-08/txt/msg01323.txt.bz2 On 17/08/2010 19:45, Ralf Wildenhues wrote: > * Dmitrijs Ledkovs wrote on Tue, Aug 17, 2010 at 03:31:37PM CEST: >> Ralf Wildenhues writes: >>> * Andrew Haley wrote on Mon, Aug 16, 2010 at 11:37:00AM CEST: >>>> -ecjx_LINK = $(GCJ_FOR_ECJX_LINK) $(ecjx_LDFLAGS) >>>> +ecjx_LINK = $(GCC_FOR_ECJX) -c -o $(am_ecjx_OBJECTS) $(top_srcdir)/$(ecjx_SOURCES) && $(GCJ_FOR_ECJX_LINK) $(ecjx_LDFLAGS) >>> Why should a _LINK variable (which is used for linking) contain -c? >> I couldn't figure out making a custom ecjx_COMPILE command for ecjx.cc >> only. Hence I've used a "hack" in _LINK. > > If this issue can wait for a few more days, I can look into it > (I forget the GCC build system after a few weeks of not hacking on it). That's not forgetting, that's PTSD! cheers, DaveK