Date: Fri, 23 Nov 2001 16:19:03 +0100 (MET) From: Martin Stromberg Message-Id: <200111231519.QAA03778@lws256.lu.erisoft.se> To: djgpp AT delorie DOT com Subject: Re: Installation problem (TRIS!) Newsgroups: comp.os.msdos.djgpp X-Newsreader: TIN [version 1.2 PL2] Content-Type: text Reply-To: djgpp AT delorie DOT com In article <2110-Fri23Nov2001095945+0200-eliz AT is DOT elta DOT co DOT il> you wrote: : > From: "Sara Bernardini" : > Date: Thu, 22 Nov 2001 23:21:50 +0100 : > : > The file 'prova.c' does not live inside the DJGPP source tree, but in = : > another directory ("ling&trad") from which I call gcc in the following = : > way: : > : > D:\ling&trad>gcc prova.c : > : > If I try to put the 'prova.c' file in the djgpp directory and in = : > particular in the subdirectory BIN (where is the file gcc.exe) I receive = : > the following message error: : > : > : > D:\Programmi\DJGPP\BIN>gcc prova.c : > prova.c:1: string.h: No such file or directory (ENOENT) : > prova.c:2: stdio.h: No such file or directory (ENOENT) : This is expected: GCC cannot guess where your source is. You should : generally compile in the same directory where the source files are. But shouldn't it find the header files at least? It looks to me like Sara has forgotten to install djdev203.zip. Plus that "&" in the path might be a bad idea. Try to use a directory without & in the path. Right, MartinS