enquire.c v4.3, Everything you wanted to know about your C compiler (and more)

steven@cwi.nl (Steven Pemberton)
7 Nov 90 11:54:15 GMT

          From comp.compilers

Related articles
enquire.c v4.3, Everything you wanted to know about your C compiler (a steven@cwi.nl (1990-11-07)
Re: enquire.c v4.3, Everything you wanted to know about your C compile steven@cwi.nl (1990-11-16)
| List of all articles for this month |

Newsgroups: comp.compilers,comp.std.c,comp.lang.c
From: steven@cwi.nl (Steven Pemberton)
Followup-To: comp.compilers
Organization: CWI, Amsterdam
Date: 7 Nov 90 11:54:15 GMT

Enquire.c (which used to be called config.c) is a program that
determines many properties of the C compiler and machine that it is
run on, such as minimum and maximum [un]signed char/int/long, many
properties of float/ [long] double, and so on.


As an option it produces the ANSI C float.h and limits.h files.


As a further option, it even checks that the compiler reads the header
files correctly.


It is a good test-case for compilers, since it exercises them with
many limiting values, such as the ability to handle the minimum and
maximum floating-point numbers.


Version 4.3 of enquire.c has been submitted to comp.sources.misc, and
will appear as part of the gcc distribution (where it is used to
generate float.h); it is also available by anonymous ftp from
mcsun.eu.net and hp4nl.nluug.nl as misc/enquire43.c, and by mail from
info-server@hp4nl.nluug.nl by sending a mail message:


request: misc
topic: enquire43.c


Steven Pemberton, CWI, Amsterdam; steven@cwi.nl
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.