Xref: news2.mv.net comp.os.msdos.djgpp:1998 From: agserm AT netwizards DOT net (Ansel Sermersheim) Newsgroups: comp.os.msdos.djgpp Subject: Re: setting environment variables Date: Sun, 17 Mar 1996 03:19:52 GMT Organization: West Coast Online's News Server - Not responsible for content Lines: 33 Message-ID: <4ig07o$pu6@news.wco.com> References: <4if1rp$8p8 AT vixen DOT cso DOT uiuc DOT edu> Reply-To: agserm AT netwizards DOT net NNTP-Posting-Host: dial26.netwizards.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp David Rieken wrote: >I recently installed djgpp on my pc. Carefully following the >instructions in README.1ST, i added the following line to my >autoexec.bat: >set djgpp=c:\djgpp\djgpp.env >After trying to compile a program, I then get an error message to >the effect that my include files are not found. If I use the set >command at the dos prompt i get a list of all environment variables >and their settings. DJGPP = c:\djgpp\djgpp.env is the only variable >relevant to gcc. This doesnt seem right. >Obviously I've missed a step somewhere. Could someone with a high >tolerance for idiots please fill me in? >Thanks >-david rieken >rieken AT ifp DOT uiuc DOT edu I did this one myself. Took me three !@#%! days to figure it out. It is the fact that in dos: set djgpp=e:\djgpp\djgpp.env does not equal: set djgpp = e:\djgpp\djgpp.env The second one creates an environment variable called DJGPP[space] which is different from DJGPP. Remove the space in front of the = and it'll work. HTH