delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:7845 |
From: | "John M. Aldrich" <fighteer AT cs DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Cannot find includes |
Date: | Sun, 25 Aug 1996 00:53:38 -0700 |
Organization: | Three pounds of chaos and a pinch of salt |
Lines: | 31 |
Message-ID: | <32200682.B9C@cs.com> |
References: | <321EABA9 DOT 2969 AT jove DOT acs DOT unt DOT edu> |
NNTP-Posting-Host: | ppp220.cs.com |
Mime-Version: | 1.0 |
To: | "Kenneth D. Moad" <kmoad AT jove DOT acs DOT unt DOT edu> |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Kenneth D. Moad wrote: > > when I try to compile the program tells me that it cannot find includes > that are definetlly there. I think it isn't configured to search the > correct directories. Can anyon tell me how to make it search the right > path? Right now it searches /usr/local/bin and such but I am on a pc > machine! You didn't read the 'readme.1st' file in the DJGPP distribution. To properly set up DJGPP for DOS, you must do these two things to your AUTOEXEC.BAT file: 1) add C:\DJGPP\BIN (or whereever the \BIN directory is) to your PATH. 2) add the following line: SET DJGPP=C:\DJGPP\DJGPP.ENV The second line is what tells DJGPP programs where to find the djgpp.env file, which contains all the paths and other necessities for them to work. I recommend downloading the DJGPP Frequently Asked Questions list (v2/faq201b.zip) and perusing it - the above question is answered in section 8.1. John -- ---------------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Proud owner of what might one day | Plan: To make Bill Gates suffer | | be a spectacular MUD... | Tagline: <under construction> | ----------------------------------------------------------------------------
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |