delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/26/17:02:30

X-Spam-Check-By: sourceware.org
Message-ID: <20060626170215.xfegw08kg8084wco@webmail.spamcop.net>
Date: Mon, 26 Jun 2006 17:02:15 -0400
From: amylaar AT spamcop DOT net
To: Jeff Johnston <jjohnstn AT redhat DOT com>
Cc: newlib AT sourceware DOT org, cygwin AT cygwin DOT com, joern DOT rennecke AT st DOT com
Subject: Re: dtoa.c fails to compile for sh-elf -m2e (Was: Re: strtod (and atof) on hex numbers)
References: <20060624171928 DOT aohiwwwo48k8cwsc AT webmail DOT spamcop DOT net> <44A00020 DOT 5030201 AT redhat DOT com>
In-Reply-To: <44A00020.5030201@redhat.com>
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k5QL2T2K030888

Quoting Jeff Johnston <jjohnstn AT redhat DOT com>:

> Joern Rennecke wrote:
> > You change to mprec.h broke dtoa.c compilation for sh2e:
> >
>
> Please try the attached patch and let me know if it sovles the problem.

Yes, it allows dtoa.c to compile.  However, the build now fails a bit
later on strtod:

/swbuild/nightly/2006-06-24/sh-elf-mprec/./gcc/xgcc
-B/swbuild/nightly/2006-06-24/sh-elf-mprec/./gcc/ -nostdinc
-B/swbuild/nightly/2006-06-24/sh-elf-mprec/sh-elf/newlib/ -isystem
/swbuild/nightly/2006-06-24/sh-elf-mprec/sh-elf/newlib/targ-include -isystem
/swbuild/nightly/2006-06-24/srcw/newlib/libc/include -B/usr/local/sh-elf/bin/
-B/usr/local/sh-elf/lib/ -isystem /usr/local/sh-elf/include -isystem
/usr/local/sh-elf/sys-include -L/swbuild/nightly/2006-06-24/sh-elf-mprec/./ld
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"1.14.0\" -DPACKAGE_STRING=\"newlib\ 1.14.0\"
-DPACKAGE_BUGREPORT=\"\"  -I. -I../../../../../../srcw/newlib/libc/stdlib -O2
-fno-builtin      -O2 -g -O2   -m2e -c -o lib_a-strtod.o `test -f 'strtod.c' ||
echo '../../../../../../srcw/newlib/libc/stdlib/'`strtod.c
../../../../../../srcw/newlib/libc/stdlib/strtod.c: In function ‘ULtod’:
../../../../../../srcw/newlib/libc/stdlib/strtod.c:154: error: ‘_1’ undeclared
(first use in this function)
../../../../../../srcw/newlib/libc/stdlib/strtod.c:154: error: (Each undeclared
identifier is reported only once
../../../../../../srcw/newlib/libc/stdlib/strtod.c:154: error: for each function
it appears in.)
../../../../../../srcw/newlib/libc/stdlib/strtod.c:155: error: ‘_0’ undeclared
(first use in this function)
../../../../../../srcw/newlib/libc/stdlib/strtod.c: In function ‘_strtod_r’:
../../../../../../srcw/newlib/libc/stdlib/strtod.c:439: error: ‘Flt_Rounds’
undeclared (first use in this function)

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019