Date: Sun, 3 Jan 1999 14:59:39 -0500 (EST) From: Frank Donahoe To: DJGPP List Subject: Re: LIMITS header file question Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id OAA21522 Reply-To: djgpp AT delorie DOT com In reply to el3c7r0n (about limits.h) Luis Hernández wrote: > Hi: > In answer to your question I can suggest you to follow this > link: > http://www.cwi.nl/~steven/ > there you'll find a link to "enquire". enquire is a C program > developed by Steven Pemberton that automatically create the > limits.h file for you. In fact it provides you with a lot of > useful information about your C compiler. > > The explicit link for enquire is: > http://www.cwi.nl/~steven/enquire.html > and following that link you will see that the title for such > web page ("Enquire: Everything you wanted to know about your > C Compiler and Machine, but didn't know who to ask") is per- > fectely well deserved. > > Note: I gave you the first address because there is also a > lot of useful information on it. enquire.c is indeed an interesting program, producing a diagnostic as well as float.h and limits.h. To run it "> sh enquire.c" I found it convenient to add this line to the general settings in `djgpp.env' +CC=gcc and in enquire.c to change "/bin/rm" to "rm" in two places. The difference in the diagnostic output under dos and under windows repeats the warning which has been given again and again on this news group diff dos\enquire.out win\enquire.out 33c33 < Dereferencing NULL causes a trap --- > BEWARE! Dereferencing NULL doesn't cause a trap Regards, Frank