From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12878 invoked by alias); 27 Aug 2007 21:26:09 -0000 Received: (qmail 12732 invoked by uid 22791); 27 Aug 2007 21:26:08 -0000 X-Spam-Check-By: sourceware.org Received: from network-theory.com (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 27 Aug 2007 21:26:04 +0000 Date: Mon, 27 Aug 2007 21:26:00 -0000 Message-ID: From: Brian Gough To: Sergei Poselenov Cc: gsl-discuss@sources.redhat.com Reply-To: gsl-discuss@sources.redhat.com Subject: Re: Failure building GSL-1.9 on FPU-less powerpc In-Reply-To: <46CD3DF1.9000605@emcraft.com> References: <46CD3DF1.9000605@emcraft.com> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Message-Mac: 9fe565423a121e108f1c189b35564279 Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00018.txt.bz2 At Thu, 23 Aug 2007 11:57:37 +0400, Sergei Poselenov wrote: > > Investigation shows that the problem is that the "configure" > script chose the "gnuppc" IEEE arithmetic interface type by default, > which assume the FPU is present on the target and included > fp-gnuppc.c into the build. > > Then the compilation failed because fp-gnuppc.c tries to operate > the FPU hardware constants from fpu_control.h for FPU-aware > powerpcs; these constants are absent on my system. > > How can I build GSL? You can comment out the HAVE_GNUPPC_IEEE_INTERFACE line in config.h to disable that part. -- Brian Gough Network Theory Ltd, Publishing Free Software Manuals --- http://www.network-theory.co.uk/