From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25018 invoked by alias); 5 Jun 2009 05:46:43 -0000 Received: (qmail 25010 invoked by uid 22791); 5 Jun 2009 05:46:42 -0000 X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: sourceware.org Received: from bay0-omc2-s3.bay0.hotmail.com (HELO bay0-omc2-s3.bay0.hotmail.com) (65.54.246.139) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Jun 2009 05:46:37 +0000 Received: from hotmail.com ([64.4.61.73]) by bay0-omc2-s3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Jun 2009 22:46:35 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 4 Jun 2009 22:46:35 -0700 Message-ID: Received: from 152.98.3.6 by BAY102-DAV1.phx.gbl with DAV; Fri, 05 Jun 2009 05:46:30 +0000 X-Sender: mcrae_allan@hotmail.com Message-ID: <4A28B124.50201@archlinux.org> Date: Fri, 05 Jun 2009 05:46:00 -0000 From: Allan McRae User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: GCC Subject: Re: Using MPC Library with GCC References: <49F5F291.6080907@codesourcery.com> <4624D970354242E087CA1666BBA5EBC3@glap> <4A00718E.50104@codesourcery.com> <4A0ADEB4.1040702@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00080.txt.bz2 Kaveh R. GHAZI wrote: > On Wed, 13 May 2009, Mark Mitchell wrote: > > >> Kaveh R. GHAZI wrote: >> >> >>> 1. Consider MPC as an optional library now, install all the code and make >>> it hard-required only when all the complex math functions are made >>> available in a future released version of the library or sometime in >>> stage3, whichever is first. >>> >> I think this is the best option. >> >> Please make sure to open a P1 PR for 4.5.0 indicating that we should >> throw the hard-requirement switch. >> > > The last patch to enable use of MPC in GCC was reviewed today and > installed. I'm sure other updates will come, but the base functionality > is now there. > > I've opened PR 40302 as you requested (and assigned myself). > I have noticed that mpc is not automatically detected even when installed in the standard library path (with gcc-4.5-20090604). This means that building with mpc always requires using the --with-mpc-lib=/usr/lib flag. This is fixed by adjusting configure{.ac} to have: mpclibs="-lmpc" Allan