From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27250 invoked by alias); 26 Aug 2010 14:58:41 -0000 Received: (qmail 27242 invoked by uid 22791); 26 Aug 2010 14:58:40 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Aug 2010 14:58:35 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OoduP-0002DK-Gz for gcc-patches@gcc.gnu.org; Thu, 26 Aug 2010 16:58:30 +0200 Received: from 150.237.222.17 ([150.237.222.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Aug 2010 16:58:29 +0200 Received: from dmitrij.ledkov by 150.237.222.17 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Aug 2010 16:58:29 +0200 To: gcc-patches@gcc.gnu.org From: Dmitrijs Ledkovs Subject: Re: PR libgcj/40868 - ecjx should be build with host compiler Date: Thu, 26 Aug 2010 15:03:00 -0000 Message-ID: <871v9lv2t1.fsf@ubuntu.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) 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: 2010-08/txt/msg01893.txt.bz2 Ralf Wildenhues writes: > * 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). > > Cheers, > Ralf > ping.