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

Steven Pemberton steven at cwi.nl
Sat Feb 3 02:37:02 AEST 1990


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 at 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 suggestions for changes though, why not come over?"- Ez.



More information about the Comp.lang.c mailing list