delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/19/03:13:00

Date: Tue, 19 Aug 2003 10:05:13 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-Id: <6480-Tue19Aug2003100513+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <200308182213.h7IMDUud018570@speedy.ludd.luth.se>
(ams AT ludd DOT luth DOT se)
Subject: Re: tests/libc/c99/math/t-fpclas.c
References: <200308182213 DOT h7IMDUud018570 AT speedy DOT ludd DOT luth DOT se>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: <ams AT ludd DOT luth DOT se>
> Date: Tue, 19 Aug 2003 00:13:30 +0200 (CEST)
> 
> Are everyone happy with the additional header file? Otherwise we could
> add "#if __GNUC__/#endif" to strategic places in <math.h> (and other
> header files if necessary) to remove everything but the defines for .S
> files.

Why do we need the header file?  Is it just for the definitions of the
FP_* macros?  If so, we could create a header with only those
definitions by running Sed on math.h.  The header file is only needed
during the compilation of fpclassifyld.S, so there's no need to keep
it any longer, let alone in the public include/sys directory.

> Personally I'd rather add the "#if __GNU__"s instead of the new header
> file (now that I think it's possible).

I agree that this is better than adding a new header.

- Raw text -


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