X-Spam-Check-By: sourceware.org
Message-ID: <46CBE9EE.21A7BFBB@dessent.net>
Date: Wed, 22 Aug 2007 00:46:54 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
CC: fortran@gcc.gnu.org, cygwin@cygwin.com, gcc@gcc.gnu.org
Subject: Re: WARNING bootstrapping GFortran on Cygwin
References: <Pine.CYG.4.58.0708220900590.3964@homepc>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Angelo Graziosi wrote:

> configure: WARNING: fixed-point is not supported for this target
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> checking whether make sets $(MAKE)... yes
> ...
> 
> This warning was absent with the bootstrap I did 20070819 trunk-127626.

That's because this is a new feature that was just merged.  The specific
patch that added it seems to be
<http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01070.html>.

+AC_ARG_ENABLE(fixed-point,
+[  --enable-fixed-point    enable fixed-point arithmetic extension to
C],
+[
+],
+[
+  case $target in
+    mips*-*-*)
+      enable_fixed_point=yes
+      ;;
+    *)
+      AC_MSG_WARN(fixed-point is not supported for this target,
ignored)
+      enable_fixed_point=no
+      ;;
+  esac
+])

It does seem a bit spurious to AC_MSG_WARN on all non-supported targets,
even if the user didn't attempt any --enable-fixed-point, but you can at
least silence it with --disable-fixed-point.

> Should I 'tune' the build adding something in 'configure' ?

Pretty sure this requires hardware support, e.g. on a DSP. Not the kind
of thing they make configure switches for... :)

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

