delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/10:17:42

Date: Wed, 5 Mar 1997 16:58:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "J. van Eijnsbergen" <hanvane AT worldonline DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: Compile ???
In-Reply-To: <331DED00.16D9@worldonline.nl>
Message-ID: <Pine.SUN.3.91.970305165506.18300C-100000@is>
MIME-Version: 1.0

On Wed, 5 Mar 1997, J. van Eijnsbergen wrote:

> When I want to compile the folowing (simple c-code) gcc.exe returns an
> error:
> The program is test.c and is located in C:\DJGPP\PROG\
> So I run : C:\DJGPP\PROG\gcc test.c (from pain DOS 6.22)
> gcc returns: C:\DJGPP\PROG\test.c:1: stdio.h: No such file or directory
> (ENOENT)
> 
> What am I doing wrong?
> SET DJGPP   =C:\DJGPP\DJGPP.ENV
           ^^^
Delete these excess blanks (or TAB)!  You define a variable ``DJGPP   '' 
(with the blanks or TAB as part of the name) instead of ``DJGPP''.

This is explained in the DJGPP FAQ list (available as v2/faq210b.zip from 
the same place you get DJGPP), section 8.1.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019