delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/06/09:00:30

From: Ian Chapman <ichapman AT nortel DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Newbie can't get djgpp working
Date: Fri, 06 Mar 1998 08:44:36 -0500
Organization: Nortel
Lines: 32
Message-ID: <34FFFDC4.724E@nortel.ca>
References: <34FFB1C2 DOT 5B9DD681 AT iaccess DOT com DOT au>
Reply-To: ichapman AT nortel DOT ca
NNTP-Posting-Host: bcarib90.bnr.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Brad wrote:
> 
> Sorry about the basic problem but I have installed djgpp, set the
> enviroment and paths properly but when I try to compile my first test
> program (hello.c) I get the message
> 
> hello.c :1: stdio.h: No such file or directory (ENOENT)
> 
> What is the correct way to compile this program.I have tried everything
> for the last couple of days and no luck.My first assignment is due so I
> need some help!!
> 
> Thanks in advance
> 
> Brad McDermott
> bdmcderm AT deakin DOT edu DOT au
> krusty AT iaccess DOT com DOT au
Brad,
	it's not finding the stdio.h header file called in your hello.c file. 
u sure u got all the stuff  set up.  u read all the faq and install
things ... recheck.

	are u in dos or a doswindow I'm runnig in a dos window under win95. 
here is my dj.bat file in my root directory.  u should have similar:-

path c:\windows\command
set DJGPP=c:\djgpp\djgpp.env
set path=C:\djgpp\bin;%path%
doskey


	Regards Ian.

- Raw text -


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