[comp.lang.c] config.c v4.2, Everything you wanted to know about your C compiler

steven@cwi.nl (Steven Pemberton) (02/02/90)

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
-- 
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus}!esegue.  Meta-mail to compilers-request@esegue.
Please send responses to the author of the message, not the poster.

steven@cwi.nl (Steven Pemberton) (02/02/90)

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
"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.