www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/01/00:52:04

Date: Thu, 1 Aug 1996 07:47:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Eben Sutton <esutton AT uidaho DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: compiling of c files
In-Reply-To: <31FBD681.428A@uidaho.edu>
Message-Id: <Pine.SUN.3.91.960801074148.4425I-100000@is>
Mime-Version: 1.0

On Sun, 28 Jul 1996, Eben Sutton wrote:

> is a Pentium/1gb HD/24mb RAM) however, when I try to compile
> any of the test files provided, either in the DJGPP root 
> directory or in the \djgpp\tests\libc\... source
> directory (e.g. \djgpp\tests\libc\ansi\stdio\hello.c) they 
> don't/won't compile because gcc can't find <stdio.h> or any
> of the other included files.  

There should be an environment variable called "DJGPP" which you must set 
to the exact pathname of the file DJGPP.ENV, like this:

	set DJGPP=c:/djgpp/djgpp.env

(change the drive letter, if it isn't C: on your system).  The above is 
usually done in AUTOEXEC.BAT, but for quick check you can simply set it 
from the DOS prompt and see if DJGPP compiles OK.

The above will work if you open a DOS prompt window and then run DJGPP
from within that window.  The precise setup to make the above happen if
you run DJGPP with a PIF file depends on your preferences, but I'm sure
you will be able to figure it out.  (Any NT guru out there who can help?)

- Raw text -


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