Mail Archives: djgpp/1998/01/26/06:24:26
On Sun, 25 Jan 1998, Nate Eldredge wrote:
> I'm just trying to think of ways to cut down on the flood of "Cannot find
> stdio.h. What!?!" postings from people too lazy to read documentation.
I agree that it would be swell if GCC would print an explicit warning 
about these cases, I just think its implementation is not as trivial as 
it seems to be.  We need a solution that would not break the flexibility 
built into GCC as to how it is configured.  This should include the cases 
where everything GCC needs is in the current directory, for example.
How about printing a warning (which doesn't prevent attempt on 
compilation) along the following lines:
  Warning: default directories not found and DJDIR variable is not set!
Such a warning should be printed when GCC has failed to stat the default 
built-in paths and didn't find $DJDIR to be defined.
- Raw text -