Newsgroups: comp.archives Path: utzoo!utgpu!news-server.csri.toronto.edu!ox.com!emv From: steven@cwi.nl (Steven Pemberton) Subject: [comp.sources.misc] v15i095: enquire.c v4.3, Everything you wanted to know about your C compiler (and more) Message-ID: <1991Jan3.024858.12178@ox.com> Followup-To: comp.sources.misc Sender: emv@ox.com (Edward Vielmetti) Reply-To: steven@cwi.nl (Steven Pemberton) Organization: CWI, Amsterdam References: <114652@uunet.UU.NET> Date: Thu, 3 Jan 91 02:48:58 GMT Approved: emv@ox.com (Edward Vielmetti) X-Original-Newsgroups: comp.sources.misc Archive-name: languages/c/enquire/1990-12-16 Archive: mcsun.eu.net:/misc/enquire43.c [192.16.202.1] Original-posting-by: steven@cwi.nl (Steven Pemberton) Original-subject: v15i095: enquire.c v4.3, Everything you wanted to know about your C compiler (and more) Reposted-by: emv@ox.com (Edward Vielmetti) Posting-number: Volume 15, Issue 95 Submitted-by: steven@cwi.nl (Steven Pemberton) Archive-name: enquire-4.3/part01 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 "Let us go then you and I/while the night is laid out against the sky/like a smear of mustard on an old pork pie" Nice poem Tom. I have ideas for changes though, why not come over? - Ezra -------------- CUT HERE ----------------- [2700 lines of the actual source removed here. --Ed.]