delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/01/07:29:33

To: orlo <orlo AT emi DOT net>
From: Anton Helm <tony AT dictator DOT nt DOT tuwien DOT ac DOT at>
Subject: Re: Beginners Question
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 1 Feb 1996 13:22:12 +0100

At 06:07 1996-02-01 -0500, you wrote:
>I am a true beginner at C, trying to teach myself from a book. I have 
>already run up against a problem. I hope you accept novice questions.
>   I downloaded EZ-GCC.  When I "write" a basic problem with an include, 
>I get an error message "(included file) not found".  I tried putting the 
>file in library and in bin, but still got the message. What am I doing 
>wrong? Where is gcc looking for the include file?

1) Have you called setdjgpp.bat BEFORE running gcc ?
   This batch file sets some environment variables needed by DJGPP.
2) Have you installed EZ-GCC with default settings ? (into c:\djgpp\)
   Then you should have a file named c:\djgpp\djgpp.env containing
   path settings for the compiler. (Don't change it !)
   check your environment if it contains a variable
   DJGPP=C:/DJGPP/DJGPP.ENV
   Note the '/' in the above!

You can move the contents of setdjgpp.bat to autoexec.bat if you prefer.

Tony



***************************************************************************
Dipl.-Ing. Anton HELM             *  mailto:tony AT nt DOT tuwien DOT ac DOT at
Institut fuer Nachrichtentechnik  *  http://dictator.nt.tuwien.ac.at/~tony/
und Hochfrequenztechnik           *  http://www.tuwien.ac.at/nthft/
Guszhausstr. 25/389               *  phoneto:+43-1-58801-3520
A-1040 Wien, AUSTRIA              *  faxto:+43-1-5870583
***************************************************************************

- Raw text -


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