Date: Mon, 18 Jun 2001 10:13:47 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Adam Majer cc: djgpp AT delorie DOT com Subject: Re: Help compiling files. In-Reply-To: <3B2D3C4A.22134A10@galacticasoftware.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 17 Jun 2001, Adam Majer wrote: > I've just been trying to compile a few files using make, but I'm getting > > F:\mesa-src\src>make -f makefile.dja > gcc -c -I..\include;..\include\gl api_arrayelt.c > gcc.exe: No input files > make.exe: *** [api_arrayelt.o] Error 1 > > I don't understand this. Works if I put in the gcc command manually. I > have the PATH set and the DJGPP environemntal var. The semi-colon is what does this: Make thinks you have two commands on that line, so what GCC sees is just "gcc -c -I..\include". To solve this, include the semi-colon in single or double quotes. For example: gcc -c -I"..\include;..\include\gl" api_arrayelt.c Btw, does -I really accept multiple directories like that? As far as I can tell from GCC docs, it can only accept a single directory. So what you really should do is modify the command like this: gcc -c -I..\include -I..\include\gl api_arrayelt.c