From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 9 08:38:45 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA90C106566C for ; Thu, 9 Apr 2009 08:38:45 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id A85C28FC18 for ; Thu, 9 Apr 2009 08:38:45 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 378CE19017; Thu, 9 Apr 2009 09:38:48 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Thu, 9 Apr 2009 09:38:48 +0000 (GMT) Date: Thu, 9 Apr 2009 09:38:37 +0100 From: Bruce Cran To: Chuck Robey Message-ID: <20090409093837.5f6e8628@gluon.draftnet> In-Reply-To: <49DD4FA6.7090805@telenix.org> References: <49DD4FA6.7090805@telenix.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD-Hackers Subject: Re: building a gcc crosscompiler X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 08:38:46 -0000 On Wed, 08 Apr 2009 21:30:14 -0400 Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Since the last time I built a gcc crosscompiler, the gcc folks have > added in dependencies on mpfr and gmp libraries. When I first read > this, I was worried that I had a chicken/egg problem, but I found > that you can do with the host's version of those libraries. I found > a port of gnu libmpfr, but I notice here that FreeBSD has it's own > libmp, and I don't know if the 4.3.1 version of gnu gcc can use our > libmp, or if I need to install the port "libgmp4" and tell the gnu > gcc configure about which mp I'm using. > > So, if you know if I can use FreeBSD's libmp, or if I need to build > the ports libgmp4, please let me know. I don't know if it's required, but devel/cross-gcc does depend on math/libgmp4 . -- Bruce Cran