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

Steven Pemberton steven at cwi.nl
Wed Nov 7 22:54:15 AEST 1990


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 at hp4nl.nluug.nl by sending a mail message:

	request: misc
	topic: enquire43.c

Steven Pemberton, CWI, Amsterdam; steven at cwi.nl
-- 
Send compilers articles to compilers at iecc.cambridge.ma.us or
{ima | spdcc | world}!esegue!compilers.  Meta-mail to compilers-request.



More information about the Comp.lang.c mailing list