delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/27/20:00:30

From: David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Rookie mistakes
Date: Fri, 26 Sep 1997 07:18:38 +0100
Organization: None
Distribution: world
Message-ID: <BkyyqIA+O1K0Ewrm@jenkinsdavid.demon.co.uk>
References: <19970926014201 DOT VAA00825 AT ladder02 DOT news DOT aol DOT com>
NNTP-Posting-Host: jenkinsdavid.demon.co.uk
MIME-Version: 1.0
Lines: 54
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <19970926014201 DOT VAA00825 AT ladder02 DOT news DOT aol DOT com>, VBPeyton
<vbpeyton AT aol DOT com> writes
>I swear I have looked in every FAQ I can find to solve this basic
>problem, but I still can't fix it...
>
>I am a new user trying to install djgpp on a 486DX/66 machine which has
>Windows 3.1, but I am setting up djgpp to run under DOS in the c:\djgpp
>directory.
>
>I have downloaded the basic djgpp files described as being the
>minimum required on the rutgers website, plus I downloaded the
>debug programs.  I have added the required lines to my autoexec.bat
>file and I have run the go32-v2.exe file.
>
Make sure the HDD name C:\ matches with the HDD you've installed DJGPP
to.

Goto DJ Delories website (There's a link on my website URL below.) and
use Zippicker, make sure you did get ALL the .zip files needed.

>My problem is that when I try to compile a basic C program, I receive
>an error message stating "stdio.h not found".  If I modify the program
>so that I specify that stdio.h is found in the c:\...\bin directory, the
>compiler
>can find the stdio.h file but none of the other standard library files in
>the bin
>directory.  Is there some obvious installation step I have accidentally
>skipped?

And you've definitley installed DJGPP to C:\ ??
Try posting your autoexec.bat file here and typing in the path you've
installed dJGPP to, i.e. D:\DJGPP\

Type gcc at a command prompt from your root folder, does it give an
error "unknown command" or something or "gcc no input file." ??

If it's "unknown command" your environment in autoexec.bat is likely to
be wrong or you didn't get all the .zips or you unzipped them wrongly.

I just lookes in my G:\DJGPP\Bin\ folder no .h files in there, did you
use -d or Winzip when unzipping the files??

>
>Sorry if I sound clueless,

We all did at some stage, so it's nothing to worry about. :)
>
>Bill Peyton, San Antonio, TX
>

-- 
http://www.jenkinsdavid.demon.co.uk for C programmers.
David Jenkins

- Raw text -


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