www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/05/12:33:05

From: vbpeyton AT aol DOT com (VBPeyton)
Newsgroups: comp.os.msdos.djgpp
Subject: Rookie mistakes II
Date: 5 Oct 1997 15:56:30 GMT
Lines: 49
Message-ID: <19971005155601.LAA11947@ladder02.news.aol.com>
NNTP-Posting-Host: ladder02.news.aol.com
Organization: AOL http://www.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Thanks to all who responded to my first message, but I am still having
 problems.

I have installed djgpp by unzipping the following files:
     djdev210.zip
     gcc2721b.zip
     bnu27b.zip
     txi390b.zip
     csdpmi.zip
     faq210b.zip
     gdb416b.zip

using the pkunzip -d command.

I have the following subdirectories under c:\djgpp:
     bin
     faq
     gnu
     include
     info
     lib
     manifest
     tmp
     zoneinfo

I have the following lines added to my autoexec.bat
    set djgpp = c:\djgpp\djgpp.env
    set path = c:\djgpp\bin;%path%

Finally, I have run go32-v2.

Unfortunately, when I try to compile basic C programs with gcc, I get
an error message stating "file.c:1: stdio.h No such file or directory
 [ENOENT]",
where file.c is the name of the file I am compiling.

I believe the problem is that the environment variable is not being set, but I
don't know for sure.  When I enter "path" at the command line, djgpp is not
one of the directories in the path.  I tried setting the path using the command
"path c:\djgpp\bin", but I received the same error messages when I tried to
 compile. 

Does anyone know what my error is, and how I can fix it?  How can I check to
see if djgpp.env is being set?

I am running djgpp on a 466dx/66 under DOS 6.0.

Thanks.

- Raw text -


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