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

steven@cwi.nl (Steven Pemberton)
2 Feb 90 10:28:03 GMT

          From comp.compilers

Related articles
config.c v4.2, Everything you wanted to know about your C compiler (an steven@cwi.nl (1990-02-02)
| List of all articles for this month |
From: steven@cwi.nl (Steven Pemberton)
Newsgroups: comp.compilers,comp.std.c,comp.lang.c
Date: 2 Feb 90 10:28:03 GMT

I have submitted version 4.2 of config.c to comp.sources.misc.


This 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 will also produce the ANSI C float.h and limits.h files.


As a further option, it will even check 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.


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.