From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Including header files Date: Sun, 23 Aug 1998 13:40:40 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 20 Message-ID: <35E05418.73499DA4@cs.net> References: <35decea7 DOT 0 AT newsread1 DOT dircon DOT co DOT uk> <1998082316232000 DOT MAA18762 AT ladder01 DOT news DOT aol DOT com> NNTP-Posting-Host: ppp136.cs.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: Siddiqui To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk The zr0 wrote: > > try specifying the location of the header file like this: > > #inlcude "c:\djgpp\stdio.h" This is guaranteed to cause problems and fail mysteriously. If the compiler can't find 'stdio.h', it won't be able to find all the headers that stdio.h itself depends on. If gcc is unable to find its headers, you must correct your installation (hint: see 'readme.1st'). See also chapter 8 of the DJGPP Frequently Asked Questions list (v2/faq210b.zip or online at http://www.delorie.com/djgpp/v2faq/). -- --------------------------------------------------------------------- | John M. Aldrich | "Deductive logic is tautological; | | aka Fighteer I | there is no way to get a new truth | | mailto:fighteer AT cs DOT net | out of it." | | http://www.cs.net/fighteer/| - Lazarus Long | ---------------------------------------------------------------------