From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18285 invoked by alias); 29 Oct 2014 11:01:56 -0000 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 Received: (qmail 18268 invoked by uid 89); 29 Oct 2014 11:01:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 29 Oct 2014 11:01:54 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9TB1p8l031803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Oct 2014 07:01:51 -0400 Received: from localhost.localdomain (ovpn-112-76.ams2.redhat.com [10.36.112.76]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9TB1moX015720; Wed, 29 Oct 2014 07:01:49 -0400 Message-ID: <5450C91C.4020403@redhat.com> Date: Wed, 29 Oct 2014 11:10:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: Paolo Bonzini , Jakub Jelinek CC: DJ Delorie , Alexandre Oliva , Ralf Wildenhues , "Joseph S. Myers" , gcc-patches@gcc.gnu.org Subject: Re: [PATCH 5/5] add libcc1 References: <53D9CA7B.3040709@redhat.com> <5436504B.8060902@redhat.com> <54385676.4000004@redhat.com> <5449FC98.1060404@redhat.com> <544A8162.1090107@redhat.com> <544E9CE5.602@redhat.com> <544FD432.8090004@redhat.com> <20141029102817.GP10376@tucnak.redhat.com> <5450C376.6000206@gnu.org> <20141029105132.GS10376@tucnak.redhat.com> <5450C728.3080004@gnu.org> In-Reply-To: <5450C728.3080004@gnu.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg03054.txt.bz2 On 29/10/14 10:53, Paolo Bonzini wrote: >>> 2) why is GMPLIB not handled in the same way? >> >> The only problem is that system.h includes gmp.h, so we need a way >> to find that header. I think libcc1 doesn't use any functions from gmp >> itself, so if gmp.h can be included, GMPLIB isn't really needed. > > Ah, got it. Is it hard to move the inclusion to the actual users? We don't, I was looking at this issue today. It is just as Jakub explains. Cheers Phil